diff options
| author | Shulhan <ms@kilabit.info> | 2025-05-30 03:06:40 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-05-30 03:06:57 +0700 |
| commit | 2fc24393b508854bf0f44ff45f25b43d2ac7158a (patch) | |
| tree | 62ad866428b8baad1d8e1acbaa508176747a04ee | |
| parent | 470cd42e6516897feaf2f9734e2c4a9d99c97f86 (diff) | |
| download | jarink-2fc24393b508854bf0f44ff45f25b43d2ac7158a.tar.xz | |
all: turn off log timestamp during testing
Printing date and time during testing makes the log lines too long.
| -rw-r--r-- | deadlinks_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/deadlinks_test.go b/deadlinks_test.go index c0bdd84..2950db4 100644 --- a/deadlinks_test.go +++ b/deadlinks_test.go @@ -24,6 +24,7 @@ const testAddress = `127.0.0.1:11836` const testExternalAddress = `127.0.0.1:11900` func TestMain(m *testing.M) { + log.SetFlags(0) var httpDirWeb = http.Dir(`testdata/web`) var fshandle = http.FileServer(httpDirWeb) |
