Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

Merge remote branch 'mmchaney/master'
[qunit.git] / qunit / qunit.js
index 17dc6aa..e4a8875 100644 (file)
@@ -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" );
                }
 

Hosting is provided AltSPAHow to use Git
Please direct any questions on jabber alex.wolf@jabber.ru

Valid HTML 4.0 Transitional Valid CSS!

Designer Alexander Wolf