Fix spelling of 'existent'
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
parent
5ca1b7ff65
commit
49dc2e55d9
1 changed files with 2 additions and 2 deletions
|
@ -14,10 +14,10 @@ func TestPollerAddRemove(t *testing.T) {
|
||||||
w := NewPollingWatcher()
|
w := NewPollingWatcher()
|
||||||
|
|
||||||
if err := w.Add("no-such-file"); err == nil {
|
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 {
|
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")
|
f, err := ioutil.TempFile("", "asdf")
|
||||||
|
|
Loading…
Reference in a new issue