Skip to content

Commit

Permalink
Last push was breaking the build. Updating test to match correct data.
Browse files Browse the repository at this point in the history
  • Loading branch information
melito committed Dec 26, 2013
1 parent 9d55f6e commit 063dfcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion response_writer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func Test_ResponseWriter_FlusherHandler(t *testing.T) {
t.Error("Response not 200")
}

if recorder.Body.String() != "data: Hello\n\n" {
if recorder.Body.String() != "data: Hello\n\ndata: Hello\n\n" {
t.Error("Didn't receive correct body, got:", recorder.Body.String())
}

Expand Down

0 comments on commit 063dfcd

Please sign in to comment.