Permalink
Browse files

Fix tests

  • Loading branch information...
dunglas committed Feb 6, 2019
1 parent aab1dc3 commit 0ebc9b1603ce4970d9b69c7d8982b321cafbe722
Showing with 1 addition and 1 deletion.
  1. +1 −1 hub/subscribe_test.go
@@ -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)
})
}

0 comments on commit 0ebc9b1

Please sign in to comment.