Fix spelling of 'existent'

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
Upstream-commit: 899caaca9c990067d541231c6d288de89dbb79e7
Component: engine
This commit is contained in:
Bryan Boreham
2015-11-25 13:45:37 +00:00
parent eb58bc2fc0
commit 89ca8a3104
3 changed files with 5 additions and 5 deletions
@@ -14,10 +14,10 @@ func TestPollerAddRemove(t *testing.T) {
w := NewPollingWatcher()
if err := w.Add("no-such-file"); err == nil {
t.Fatal("should have gotten error when adding a non-existant file")
t.Fatal("should have gotten error when adding a non-existent file")
}
if err := w.Remove("no-such-file"); err == nil {
t.Fatal("should have gotten error when removing non-existant watch")
t.Fatal("should have gotten error when removing non-existent watch")
}
f, err := ioutil.TempFile("", "asdf")