Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Feb 6, 2019
1 parent aab1dc3 commit 0ebc9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hub/subscribe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestSubscribeNotAFlusher(t *testing.T) {

req := httptest.NewRequest("GET", "http://example.com/hub", nil)

assert.PanicsWithValue(t, "The Response Writter must be an instance of Flusher.", func() {
assert.PanicsWithValue(t, "The Response Writer must be an instance of Flusher.", func() {
hub.SubscribeHandler(&responseWriterMock{}, req)
})
}
Expand Down

0 comments on commit 0ebc9b1

Please sign in to comment.