File tree 2 files changed +7
-6
lines changed 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
github.com/mattn/go-sqlite3 v1.14.16 h1:yOQRA0RpS5PFz/oikGwBEqvAWhWg5ufRz4ETLjwpU1Y =
2
2
github.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 =
3
4
github.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 (
5
5
"os"
6
6
"testing"
7
7
8
- "github.com/semog/go-common"
8
+ gocommon "github.com/semog/go-common"
9
9
)
10
10
11
11
// In testspace, no one can hear you fail.
12
12
const testFolderName = ".testspace"
13
13
const testDbName = "TestDb"
14
14
15
- func setupTests (t * testing.T ) {
16
- removeTempFiles (t )
15
+ func setupTests (_ * testing.T ) {
16
+ removeTempFiles ()
17
17
}
18
18
19
- func cleanupTests (t * testing.T ) {
20
- removeTempFiles (t )
19
+ func cleanupTests (_ * testing.T ) {
20
+ removeTempFiles ()
21
21
}
22
22
23
- func removeTempFiles (t * testing. T ) {
23
+ func removeTempFiles () {
24
24
if gocommon .FileExists (testDbName ) {
25
25
os .Remove (testDbName )
26
26
}
You can’t perform that action at this time.
0 commit comments