Author: thebeing Date: Tue Oct 11 19:12:31 2016 New Revision: 40141 URL: http://svn.gna.org/viewcvs/gnustep?rev=40141&view=rev Log: s/codpepoint/codepoint
Thanks Ivan! Modified: libs/base/trunk/Tests/base/NSString/noncharacter.m Modified: libs/base/trunk/Tests/base/NSString/noncharacter.m URL: http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Tests/base/NSString/noncharacter.m?rev=40141&r1=40140&r2=40141&view=diff ============================================================================== --- libs/base/trunk/Tests/base/NSString/noncharacter.m (original) +++ libs/base/trunk/Tests/base/NSString/noncharacter.m Tue Oct 11 19:12:31 2016 @@ -11,19 +11,19 @@ unichar u2[2]; u = (unichar)0xfdd0; str = [[NSString alloc] initWithCharacters: &u length: 1]; - PASS([str length] == 1, "fdd0 codpepoint is permitted in string"); + PASS([str length] == 1, "fdd0 codepoint is permitted in string"); PASS([str characterAtIndex: 0] == 0xfdd0, "fdd0 is returned properly"); [str release]; u = (unichar)0xfdef; str = [[NSString alloc] initWithCharacters: &u length: 1]; - PASS([str length] == 1, "fdef codpepoint is permitted in string"); + PASS([str length] == 1, "fdef codepoint is permitted in string"); PASS([str characterAtIndex: 0] == 0xfdef, "fdef is returned properly"); [str release]; u = (unichar)0xfffd; str = [[NSString alloc] initWithCharacters: &u length: 1]; - PASS([str length] == 1, "fffd codpepoint is permitted in string"); + PASS([str length] == 1, "fffd codepoint is permitted in string"); PASS([str characterAtIndex: 0] == 0xfffd, "fffd is returned properly"); [str release]; /* eth, so that we don't have the BOM as the first character (it would be @@ -32,13 +32,13 @@ /* BOM as second non-character codepoint should be allowed */ u2[1] = (unichar)0xfffe; str = [[NSString alloc] initWithCharacters: u2 length: 2]; - PASS([str length] == 2, "fffe codpepoint is permitted in string"); + PASS([str length] == 2, "fffe codepoint is permitted in string"); PASS([str characterAtIndex: 1] == 0xfffe, "fffe is returned properly"); [str release]; u = (unichar)0xffff; str = [[NSString alloc] initWithCharacters: &u length: 1]; - PASS([str length] == 1, "ffff codpepoint is permitted in string"); + PASS([str length] == 1, "ffff codepoint is permitted in string"); PASS([str characterAtIndex: 0] == 0xffff, "ffff is returned properly"); [str release]; _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs