make test failed

This commit is contained in:
Johnny Wu
2016-01-19 20:24:24 +08:00
parent de9b103cf0
commit e63ab7d132
+1 -1
View File
@@ -2,7 +2,7 @@ module('color');
test('basic test', function() {
var testColor = new cc.Color( 255, 255, 0, 127.5 );
equal ( testColor.toHEX('#rrggbb'), "ffff00", "The value must be ffff00" );
notEqual ( testColor.toHEX('#rrggbb'), "ffff00", "The value must be ffff00" );
equal ( testColor.toHEX('#rgb'), "ff0", "The value must be ff0" );
equal ( testColor.toCSS('#rrggbb'), "#ffff00", "The value must be #ffff00" );
equal ( testColor.toCSS('#rgb'), "#ff0", "The value must be #ff0" );