Skip to content

Commit

Permalink
Fix the TestSerf_eventsUser_sizeLimit test
Browse files Browse the repository at this point in the history
The string it was expecting in the error was no longer accurate.
  • Loading branch information
mkeeler committed Apr 10, 2019
1 parent dbbcced commit cbc2184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serf/serf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func TestSerf_eventsUser_sizeLimit(t *testing.T) {
if err == nil {
t.Fatalf("expect error")
}
if !strings.HasPrefix(err.Error(), "user event exceeds limit of ") {
if !strings.HasPrefix(err.Error(), "user event exceeds") {
t.Fatalf("should get size limit error")
}
}
Expand Down

0 comments on commit cbc2184

Please sign in to comment.