From 038b8b7d0c9d2e93ba0936e06605ab4685cb7d2e Mon Sep 17 00:00:00 2001 From: mattn Date: Wed, 7 Dec 2011 19:40:21 +0800 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") } }