aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sqlite3_test.go4
1 files 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")
}
}