@@ -721,13 +721,13 @@ OTAssertEqual([[self.stringClass stringWithString: @"\r\n\tINF\t\n"] doubleValue], INFINITY); OTAssertEqual([[self.stringClass stringWithString: @"\r -INFINITY\n"] doubleValue], -INFINITY); - OTAssertTrue(isnan([[self.stringClass stringWithString: + OTAssert(isnan([[self.stringClass stringWithString: @" NAN\t\t"] doubleValue])); - OTAssertTrue(isnan([[self.stringClass stringWithString: + OTAssert(isnan([[self.stringClass stringWithString: @" -NaN\t\t"] doubleValue])); } - (void)testDoubleValueThrowsOnInvalidFormat { @@ -1164,11 +1164,11 @@ - (void)testPathComponents { # if defined(OF_WINDOWS) || defined(OF_MSDOS) OTAssertEqualObjects([[self.stringClass stringWithString: - @"c:/tmp"].pathComponents], + @"c:/tmp"] pathComponents], ([OFArray arrayWithObjects: @"c:/", @"tmp", nil])); OTAssertEqualObjects([[self.stringClass stringWithString: @"c:\\tmp\\"] pathComponents], ([OFArray arrayWithObjects: @"c:\\", @"tmp", nil]));