Skip to content

Commit

Permalink
ignore error
Browse files Browse the repository at this point in the history
Signed-off-by: alexferl <me@alexferl.com>
  • Loading branch information
alexferl committed Apr 7, 2024
1 parent 8f22246 commit 0bfafc2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sinks/filesystem_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ import (
func TestFilesystem(t *testing.T) {
msg := "test"
path := "/tmp/syslog.log"
err := os.Remove(path)
assert.NoError(t, err)
_ = os.Remove(path)

fs := NewFilesystem(path, 30, 10, 100)

err = fs.Write([]byte(msg))
err := fs.Write([]byte(msg))
assert.NoError(t, err)

f, err := os.ReadFile(path)
Expand Down

0 comments on commit 0bfafc2

Please sign in to comment.