]> Cypherpunks repositories - gostls13.git/commitdiff
exp/winfsnotify: fix govet-found bug
authorRuss Cox <rsc@golang.org>
Wed, 26 Oct 2011 05:21:14 +0000 (22:21 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 26 Oct 2011 05:21:14 +0000 (22:21 -0700)
R=golang-dev, hectorchu
CC=golang-dev
https://golang.org/cl/5304044

src/pkg/exp/winfsnotify/winfsnotify_test.go

index 8c53fc8de13892dfb091f0f8d264be29a957b95f..ff7735aa6a43262aaaf4513e8960bd1839c7b2b4 100644 (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)