mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-23 06:55:52 +00:00
Closes #688. Unit test verifying that the CPColor hexString weakness described in issue 688 has been resolved.
This commit is contained in:
1 parent
1a842b2a6f
commit
6f869cebc1
1 file changed
+1
-1
@@ -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]];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user