File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11github.com/mattn/go-sqlite3 v1.14.16 h1:yOQRA0RpS5PFz/oikGwBEqvAWhWg5ufRz4ETLjwpU1Y =
22github.com/mattn/go-sqlite3 v1.14.16 /go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg =
3+ github.com/semog/go-common v1.0.2 h1:DEBcE4agkAI24gvu/TZ9qZVG6d4kYLY70TESKpbQHyY =
34github.com/semog/go-common v1.0.2 /go.mod h1:e9izIWrewAAVRmMulhISofl8VKlqy8UrmhLeQrbEkns =
Original file line number Diff line number Diff line change @@ -5,22 +5,22 @@ import (
55 "os"
66 "testing"
77
8- "github.com/semog/go-common"
8+ gocommon "github.com/semog/go-common"
99)
1010
1111// In testspace, no one can hear you fail.
1212const testFolderName = ".testspace"
1313const testDbName = "TestDb"
1414
15- func setupTests (t * testing.T ) {
16- removeTempFiles (t )
15+ func setupTests (_ * testing.T ) {
16+ removeTempFiles ()
1717}
1818
19- func cleanupTests (t * testing.T ) {
20- removeTempFiles (t )
19+ func cleanupTests (_ * testing.T ) {
20+ removeTempFiles ()
2121}
2222
23- func removeTempFiles (t * testing. T ) {
23+ func removeTempFiles () {
2424 if gocommon .FileExists (testDbName ) {
2525 os .Remove (testDbName )
2626 }
You can’t perform that action at this time.
0 commit comments