From: Rick Waldron Date: Mon, 15 Oct 2012 18:04:58 +0000 (-0400) Subject: Adds missing expect() call, fixes failing IE tests X-Git-Tag: 1.9.0b1~218 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8a4dc3657e7da482a12b51cba2c6806cc36d9919;p=jquery.git Adds missing expect() call, fixes failing IE tests --- 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" );