Skeleton TestMain
Used with manual inspection of process after tests finish.
This commit is contained in:
parent
40aa30d984
commit
0dbb943bc7
12
main_test.go
Normal file
12
main_test.go
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
package torrent
|
||||||
|
|
||||||
|
import (
|
||||||
|
"os"
|
||||||
|
"testing"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestMain(m *testing.M) {
|
||||||
|
code := m.Run()
|
||||||
|
// select {}
|
||||||
|
os.Exit(code)
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user