Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

Merge remote branch 'mmchaney/master'
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 10 Oct 2011 12:12:47 +0000 (14:12 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 10 Oct 2011 12:12:47 +0000 (14:12 +0200)
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