diff options
Diffstat (limited to 'Foundation/GTMNSString+ReplaceTest.m')
-rw-r--r-- | Foundation/GTMNSString+ReplaceTest.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Foundation/GTMNSString+ReplaceTest.m b/Foundation/GTMNSString+ReplaceTest.m index e814040..805136c 100644 --- a/Foundation/GTMNSString+ReplaceTest.m +++ b/Foundation/GTMNSString+ReplaceTest.m @@ -24,6 +24,8 @@ @implementation GTMNSString_ReplaceTest +#if MAC_OS_X_VERSION_MIN_REQUIRED < 1050 + - (void)testStringByReplacingStringWithString { NSString *testString = @"a bc debc gh"; NSString *result; @@ -52,4 +54,6 @@ @"replacing '' with anything should yield the original string"); } +#endif // MAC_OS_X_VERSION_MIN_REQUIRED < 1050 + @end |