From 82ee0c3c63686870a532e7ce81501a10bd228461 Mon Sep 17 00:00:00 2001 From: Chris Howey Date: Sun, 26 May 2013 09:27:04 -0500 Subject: [PATCH] Small error reporting fix --- fsnotify_symlink_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsnotify_symlink_test.go b/fsnotify_symlink_test.go index bb71d2f..4c884b8 100644 --- a/fsnotify_symlink_test.go +++ b/fsnotify_symlink_test.go @@ -22,7 +22,7 @@ func TestFsnotifyFakeSymlink(t *testing.T) { const testDir string = "_test" // Create directory to watch - if os.Mkdir(testDir, 0777) != nil { + if err := os.Mkdir(testDir, 0777); err != nil { t.Fatalf("Failed to create test directory: %s", err) } defer os.RemoveAll(testDir) -- 2.50.1