Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
c-seeger committed Nov 27, 2020
1 parent 8b8a2e0 commit a8cb290
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/internals_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func TestFilters(t *testing.T) {
_, err = m2m.filterByTimeRange(0, mail)
assert.NotNil(t, err)
if err != nil {
assert.Equal(t, err.Error(), "time: invalid duration foo")
assert.Equal(t, err.Error(), "time: invalid duration \"foo\"")
}

mail.Subject = "i am an example subject"
Expand Down Expand Up @@ -112,7 +112,7 @@ func TestFilters(t *testing.T) {
_, err = m2m.checkFilters(0, mail)
assert.NotNil(t, err)
if err != nil {
assert.Equal(t, err.Error(), "time: invalid duration foo")
assert.Equal(t, err.Error(), "time: invalid duration \"foo\"")
}

// empty filters
Expand Down

0 comments on commit a8cb290

Please sign in to comment.