From e63ab7d1320e82f907c2f48e944a3fcaf19bf1cd Mon Sep 17 00:00:00 2001 From: Johnny Wu Date: Tue, 19 Jan 2016 20:24:24 +0800 Subject: [PATCH] make test failed --- test/qunit/unit/test-color.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/qunit/unit/test-color.js b/test/qunit/unit/test-color.js index 264eace139..a1e0912bc9 100644 --- a/test/qunit/unit/test-color.js +++ b/test/qunit/unit/test-color.js @@ -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" );