From 6f869cebc1c685894546090328d18c213fd3dc2e Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Mon, 9 May 2011 00:29:43 -0400 Subject: [PATCH] Closes #688. Unit test verifying that the CPColor hexString weakness described in issue 688 has been resolved. --- Tests/AppKit/CPColorTest.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/AppKit/CPColorTest.j b/Tests/AppKit/CPColorTest.j index c7603960e..2bc2e8311 100644 --- a/Tests/AppKit/CPColorTest.j +++ b/Tests/AppKit/CPColorTest.j @@ -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]]; }