From 21ca9e31819c53d00c161faaca8f6934a4150aa1 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Wed, 15 Sep 2021 01:49:43 +0200 Subject: fix tests on windows... --- logger/logger_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'logger') diff --git a/logger/logger_test.go b/logger/logger_test.go index 4d07d8c..b02fd29 100644 --- a/logger/logger_test.go +++ b/logger/logger_test.go @@ -5,7 +5,6 @@ import ( "bytes" "log" "os" - "path/filepath" "reflect" "strings" "testing" @@ -120,7 +119,7 @@ func TestFlags(t *testing.T) { if !strings.Contains(s, "info 0") { t.Errorf("log output %q should contain: info 0", s) } - path := filepath.Join("logger", "logger_test.go") + path := "logger/logger_test.go" if !strings.Contains(s, path) { t.Errorf("log output %q should contain: %s", s, path) } -- cgit v1.2.3