diff options
Diffstat (limited to 'logging/logging_test.go')
-rw-r--r-- | logging/logging_test.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/logging/logging_test.go b/logging/logging_test.go index a1ac3d4..1ea7484 100644 --- a/logging/logging_test.go +++ b/logging/logging_test.go @@ -17,8 +17,6 @@ func TestLogging(t *testing.T) { defer os.RemoveAll(path) c := gotop.Config{ MaxLogSize: 300, - LogDir: path, - LogFile: "errors.log", } wc, err := New(c) assert.NoError(t, err) @@ -27,7 +25,7 @@ func TestLogging(t *testing.T) { } defer wc.Close() ds := make([]byte, 100) - for i, _ := range ds { + for i := range ds { ds[i] = 'x' } |