gofix.
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
package sqlite
|
package sqlite
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
|
||||||
"exp/sql"
|
"exp/sql"
|
||||||
"os"
|
"os"
|
||||||
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestOpen(t *testing.T) {
|
func TestOpen(t *testing.T) {
|
||||||
@@ -21,7 +21,7 @@ func TestOpen(t *testing.T) {
|
|||||||
return
|
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")
|
t.Errorf("Failed to create ./foo.db")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user