Skip to content

Commit

Permalink
Merge remote branch 'mmchaney/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Oct 10, 2011
2 parents b371d59 + 6f1f26c commit 45243b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qunit/qunit.js
Expand Up @@ -124,7 +124,7 @@ Test.prototype = {
}
},
finish: function() {
if ( this.expected && this.expected != this.assertions.length ) {
if ( this.expected != null && this.expected != this.assertions.length ) {
QUnit.ok( false, "Expected " + this.expected + " assertions, but " + this.assertions.length + " were run" );
}

Expand Down

0 comments on commit 45243b9

Please sign in to comment.