From 4963e473aab6233313f5ffbea6d66edf147dd84a Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Tue, 31 Oct 2017 21:04:03 -0400 Subject: [PATCH] testing: Add files and line numbers to logging output --- internal/handlers/common_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/handlers/common_test.go b/internal/handlers/common_test.go index 9e993c8..c3eb51a 100644 --- a/internal/handlers/common_test.go +++ b/internal/handlers/common_test.go @@ -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)) }