aboutsummaryrefslogtreecommitdiffstats
path: root/UnitTests/stringCategoryAdditionsTest.m
diff options
context:
space:
mode:
Diffstat (limited to 'UnitTests/stringCategoryAdditionsTest.m')
-rw-r--r--UnitTests/stringCategoryAdditionsTest.m10
1 files changed, 6 insertions, 4 deletions
diff --git a/UnitTests/stringCategoryAdditionsTest.m b/UnitTests/stringCategoryAdditionsTest.m
index cff13ac9..11a4a49b 100644
--- a/UnitTests/stringCategoryAdditionsTest.m
+++ b/UnitTests/stringCategoryAdditionsTest.m
@@ -20,7 +20,6 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// More info at <http://code.google.com/p/sequel-pro/>
-//
#import "stringCategoryAdditionsTest.h"
#import "SPStringAdditions.h"
@@ -40,14 +39,17 @@
- (void)testStringByRemovingCharactersInSet
{
NSCharacterSet *junk = [NSCharacterSet characterSetWithCharactersInString:@"abc',ü"];
+
NSString *s = @"this is big, crazy st'ring";
NSString *expect = @"this is ig rzy string";
- STAssertEqualObjects( [s stringByRemovingCharactersInSet:junk], expect, @"stringByRemovingCharactersInSet" );
- // check UTF
+ STAssertEqualObjects([s stringByRemovingCharactersInSet:junk], expect, @"stringByRemovingCharactersInSet");
+
+ // Check UTF
s = @"In der Kürze liegt die Würz";
expect = @"In der Krze liegt die Wrz";
- STAssertEqualObjects( [s stringByRemovingCharactersInSet:junk], expect, @"stringByRemovingCharactersInSet" );
+
+ STAssertEqualObjects([s stringByRemovingCharactersInSet:junk], expect, @"stringByRemovingCharactersInSet");
}
@end