X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fqunit%2Fsuites%2Fresources%2Fjquery%2Fjquery.colorUtil.test.js;h=bd6e7b2f013958e74f42171736cff75dc6ce2ad8;hb=4e6a6b4871e6895a6b7dc1f634b189e6dd6ccb4f;hp=d6208e91283c75deb37b4a5419e171e12419b69c;hpb=782c0196dc2f515383c2578f4cf44579da8dc4c0;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/qunit/suites/resources/jquery/jquery.colorUtil.test.js b/tests/qunit/suites/resources/jquery/jquery.colorUtil.test.js index d6208e9128..bd6e7b2f01 100644 --- a/tests/qunit/suites/resources/jquery/jquery.colorUtil.test.js +++ b/tests/qunit/suites/resources/jquery/jquery.colorUtil.test.js @@ -55,9 +55,9 @@ QUnit.test( 'getColorBrightness', function ( assert ) { var a, b; a = $.colorUtil.getColorBrightness( 'red', +0.1 ); - assert.equal( a, 'rgb(255,50,50)', 'Start with named color "red", brighten 10%' ); + assert.strictEqual( a, 'rgb(255,50,50)', 'Start with named color "red", brighten 10%' ); b = $.colorUtil.getColorBrightness( 'rgb(200,50,50)', -0.2 ); - assert.equal( b, 'rgb(118,29,29)', 'Start with rgb string "rgb(200,50,50)", darken 20%' ); + assert.strictEqual( b, 'rgb(118,29,29)', 'Start with rgb string "rgb(200,50,50)", darken 20%' ); } ); }( jQuery ) );