aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
}