1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2024-10-31 16:00:05 -04:00

testing: Add files and line numbers to logging output

This commit is contained in:
Aaron Lindsay 2017-10-31 21:04:03 -04:00
parent 9721c04e52
commit 4963e473aa

View File

@ -202,5 +202,6 @@ func RunTests(m *testing.M) int {
} }
func TestMain(m *testing.M) { func TestMain(m *testing.M) {
log.SetFlags(log.Ldate | log.Ltime | log.Lshortfile)
os.Exit(RunTests(m)) os.Exit(RunTests(m))
} }