diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-09-15 01:49:43 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-09-15 01:49:43 +0200 |
commit | 21ca9e31819c53d00c161faaca8f6934a4150aa1 (patch) | |
tree | 408667a3958235acb157d376c51bb49c4d727fdd /logger | |
parent | 6b64e08ed77e7752af307b82bbe1aa14200f269a (diff) | |
download | dna-backup-21ca9e31819c53d00c161faaca8f6934a4150aa1.tar.gz dna-backup-21ca9e31819c53d00c161faaca8f6934a4150aa1.zip |
fix tests on windows...
Diffstat (limited to 'logger')
-rw-r--r-- | logger/logger_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
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) } |