From 8a4dc3657e7da482a12b51cba2c6806cc36d9919 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Mon, 15 Oct 2012 14:04:58 -0400 Subject: Adds missing expect() call, fixes failing IE tests --- test/unit/css.js | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/unit/css.js b/test/unit/css.js index 894ef6a48..3b5914380 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -259,6 +259,7 @@ test("css(String, Object)", function() { if ( !jQuery.support.opacity ) { test("css(String, Object) for MSIE", function() { + expect( 5 ); // for #1438, IE throws JS error when filter exists but doesn't have opacity in it jQuery("#foo").css("filter", "progid:DXImageTransform.Microsoft.Chroma(color='red');"); equal( jQuery("#foo").css("opacity"), "1", "Assert opacity is 1 when a different filter is set in IE, #1438" ); -- cgit v1.2.3