aboutsummaryrefslogtreecommitdiff
path: root/logger/logger_test.go
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-09-15 01:49:43 +0200
committern-peugnet <n.peugnet@free.fr>2021-09-15 01:49:43 +0200
commit21ca9e31819c53d00c161faaca8f6934a4150aa1 (patch)
tree408667a3958235acb157d376c51bb49c4d727fdd /logger/logger_test.go
parent6b64e08ed77e7752af307b82bbe1aa14200f269a (diff)
downloaddna-backup-21ca9e31819c53d00c161faaca8f6934a4150aa1.tar.gz
dna-backup-21ca9e31819c53d00c161faaca8f6934a4150aa1.zip
fix tests on windows...
Diffstat (limited to 'logger/logger_test.go')
-rw-r--r--logger/logger_test.go3
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)
}