1
0
mirror of https://github.com/golang/go synced 2024-11-20 06:54:42 -07:00

exp/winfsnotify: fix govet-found bug

R=golang-dev, hectorchu
CC=golang-dev
https://golang.org/cl/5304044
This commit is contained in:
Russ Cox 2011-10-25 22:21:14 -07:00
parent 3e52dadfd7
commit 28c06182c0

View File

@ -40,7 +40,7 @@ func TestNotifyEvents(t *testing.T) {
// Add a watch for testDir
os.RemoveAll(testDir)
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)
err = watcher.AddWatch(testDir, mask)