diff --git a/Tests/Foundation/CPAttributedStringTest.j b/Tests/Foundation/CPAttributedStringTest.j
index 7f64ff167..2dab05e28 100644
--- a/Tests/Foundation/CPAttributedStringTest.j
+++ b/Tests/Foundation/CPAttributedStringTest.j
@@ -637,7 +637,7 @@ var sharedObject = [CPObject new];
options:0
range:nil];
- [self assertTrue:[string isEqual:"HELLO
THERE"] message:"replaceOccurrencesOfString:withString:options:range: did not properly replace the search string with the replacement string. Result is: " + string._string];
+ [self assertTrue:[string._string isEqual:"HELLO
THERE"] message:"replaceOccurrencesOfString:withString:options:range: did not properly replace the search string with the replacement string. Result is: " + string._string];
}
- (void)testEncoding