From f4359f417e71c8c87dc39b49e47bbe9005e77aec Mon Sep 17 00:00:00 2001 From: mattn Date: Wed, 7 Dec 2011 20:40:21 +0900 Subject: [PATCH] gofix. --- sqlite3_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlite3_test.go b/sqlite3_test.go index ede867c..33da473 100644 --- a/sqlite3_test.go +++ b/sqlite3_test.go @@ -1,9 +1,9 @@ package sqlite import ( - "testing" "exp/sql" "os" + "testing" ) func TestOpen(t *testing.T) { @@ -21,7 +21,7 @@ func TestOpen(t *testing.T) { return } - if stat, err := os.Stat("./foo.db"); err != nil || stat.IsDirectory() { + if stat, err := os.Stat("./foo.db"); err != nil || stat.IsDir() { t.Errorf("Failed to create ./foo.db") } }