From da84cb6b7aa48f12d98103d40e0621ceab2b7935 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Mon, 28 Jul 2014 18:46:31 +0200 Subject: [PATCH] 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) --- test/unit/effects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.39.5