Commit 28c06182 authored by Russ Cox's avatar Russ Cox

exp/winfsnotify: fix govet-found bug

R=golang-dev, hectorchu
CC=golang-dev
https://golang.org/cl/5304044
parent 3e52dadf
...@@ -40,7 +40,7 @@ func TestNotifyEvents(t *testing.T) { ...@@ -40,7 +40,7 @@ func TestNotifyEvents(t *testing.T) {
// Add a watch for testDir // Add a watch for testDir
os.RemoveAll(testDir) os.RemoveAll(testDir)
if err = os.Mkdir(testDir, 0777); err != nil { if err = os.Mkdir(testDir, 0777); err != nil {
t.Fatalf("Failed to create test directory", err) t.Fatalf("Failed to create test directory: %s", err)
} }
defer os.RemoveAll(testDir) defer os.RemoveAll(testDir)
err = watcher.AddWatch(testDir, mask) err = watcher.AddWatch(testDir, mask)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment