Skip to content

Commit

Permalink
Better assert call.
Browse files Browse the repository at this point in the history
  • Loading branch information
ronkorving committed Jun 8, 2013
1 parent 5a4ba02 commit 05650d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XMLHttpRequest/event-readystatechange-loaded.htm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}

if (client.readyState === 4) {
assert_true(countedLoading === 1, "LOADING state change may only be emitted once");
assert_equals(countedLoading, 1, "LOADING state change may only be emitted once");

test.done();
}
Expand Down

0 comments on commit 05650d8

Please sign in to comment.