add new watch event type

This commit is contained in:
Daniel Smith
2014-09-22 16:11:43 -07:00
parent 8b6de5af83
commit 05eff2e910
2 changed files with 13 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ func TestFake(t *testing.T) {
{Modified, testType("qux")},
{Modified, testType("bar")},
{Deleted, testType("bar")},
{Error, testType("error: blah")},
}
// Prove that f implements Interface by phrasing this as a function.
@@ -62,6 +63,7 @@ func TestFake(t *testing.T) {
f.Action(Modified, testType("qux"))
f.Modify(testType("bar"))
f.Delete(testType("bar"))
f.Error(testType("error: blah"))
f.Stop()
}