Closes #688. Unit test verifying that the CPColor hexString weakness described in issue 688 has been resolved.

This commit is contained in:
Alexander Ljungberg committed 2011-05-09 00:29:43 -04:00
1 parent 1a842b2a6f
commit 6f869cebc1
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@
- (void)testHexStringConversion
{
var colors = ['000000', '7E8EAB', 'FFFFFF'];
var colors = ['000000', '0099CC', '7E8EAB', 'FFFFFF'];
for (var i = 0; i < colors.length; ++i)
[self assert: colors[i] equals: [[CPColor colorWithHexString: colors[i]] hexString]];
}