From: Niklas Laxström Date: Tue, 17 May 2011 13:29:45 +0000 (+0000) Subject: Typo X-Git-Tag: 1.31.0-rc.0~30106 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=dd62ab25946e94846e814614d8aa1dfa59028b2d;p=lhc%2Fweb%2Fwiklou.git Typo --- diff --git a/resources/test/unit/jquery/jquery.colorUtil.js b/resources/test/unit/jquery/jquery.colorUtil.js index b794887355..5c8f0676f4 100644 --- a/resources/test/unit/jquery/jquery.colorUtil.js +++ b/resources/test/unit/jquery/jquery.colorUtil.js @@ -22,12 +22,12 @@ test( 'getRGB', function(){ deepEqual( jQuery.colorUtil.getRGB( '#eEe' ), [238, 238, 238], 'Hex string: 3 char mixed' ); deepEqual( jQuery.colorUtil.getRGB( 'rgba(0, 0, 0, 0)' ), [255, 255, 255], 'Zero rgba for Safari 3; Transparent (whitespace)' ); // Perhaps this is a bug in colorUtil, but it is the current behaviour so, let's keep track - // would that ever chnge + // would that ever change equal( typeof jQuery.colorUtil.getRGB( 'rgba(0,0,0,0)' ), 'undefined', 'Zero rgba without whitespace' ); deepEqual( jQuery.colorUtil.getRGB( 'lightGreen' ), [144, 238, 144], 'Color names (lightGreen)' ); deepEqual( jQuery.colorUtil.getRGB( 'lightGreen' ), [144, 238, 144], 'Color names (transparent)' ); - equal( typeof jQuery.colorUtil.getRGB( 'mediaWiki' ), 'undefined', 'Inexisting Color name' ); + equal( typeof jQuery.colorUtil.getRGB( 'mediaWiki' ), 'undefined', 'Inexisting color name' ); });