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
1 changed files with 1 additions and 0 deletions

View File

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