Skip to content

Commit 5df1cfb

Browse files
committed
add main test function
1 parent 24a1b6b commit 5df1cfb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/main_test.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package main
2+
3+
import "testing"
4+
5+
func TestMain(m *testing.M) {
6+
// setup
7+
8+
m.Run()
9+
10+
// tear down
11+
}

0 commit comments

Comments
 (0)