From: Michał Gołębiowski Date: Mon, 28 Jul 2014 16:46:31 +0000 (+0200) Subject: Css: Fix the "sanity check" test X-Git-Tag: 3.0.0-alpha1+compat~227 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F1644%2Fhead;p=jquery.git Css: Fix the "sanity check" test The #dl element has 0 height so it's now considered hidden regardless of its width. (cherry-picked from 995f70777ac6c0f988a44807ef1399e73937b2ee) --- diff --git a/test/unit/effects.js b/test/unit/effects.js index 8e1f914cf..deb3a0331 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -25,7 +25,7 @@ module("effects", { test("sanity check", function() { expect(1); - ok( jQuery("#dl:visible, #qunit-fixture:visible, #foo:visible").length === 3, "QUnit state is correct for testing effects" ); + equal( jQuery("#dl:visible, #qunit-fixture:visible, #foo:visible").length, 2, "QUnit state is correct for testing effects" ); }); test("show() basic", 2, function() {