Skip to content

Commit

Permalink
Fixed some test comment wording.
Browse files Browse the repository at this point in the history
  • Loading branch information
iopred committed Feb 20, 2016
1 parent c291988 commit 2b4b19c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion discord_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func TestAddHandler(t *testing.T) {
t.Fatalf("testHandler was not called twice.")
}

// interfaceHandler will be called twice for each event.
// interfaceHandler will be called twice, once for each event.
if interfaceHandlerCalled != 2 {
t.Fatalf("interfaceHandler was not called twice.")
}
Expand All @@ -281,6 +281,7 @@ func TestRemoveHandler(t *testing.T) {

d.handle(&MessageCreate{})

// testHandler will be called once, as it was removed in between calls.
if testHandlerCalled != 1 {
t.Fatalf("testHandler was not called once.")
}
Expand Down

0 comments on commit 2b4b19c

Please sign in to comment.