This commit is contained in:
mattn 2011-12-07 20:40:21 +09:00
parent 7d29362424
commit f4359f417e
1 changed files with 2 additions and 2 deletions

View File

@ -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")
}
}