mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
tweaks
This commit is contained in:
parent
41956b6169
commit
88720adbb1
2 changed files with 4 additions and 4 deletions
|
@ -101,7 +101,7 @@ int main()
|
|||
withTemplate: @"c"];
|
||||
PASS_EQUAL(replacement, @"cb", "Replacement correct");
|
||||
|
||||
NSString *replMut = [NSMutableString stringWithString: @"ab"];
|
||||
NSMutableString *replMut = [NSMutableString stringWithString: @"ab"];
|
||||
[testObj replaceMatchesInString: replMut
|
||||
options: 0
|
||||
range: NSMakeRange(0,2)
|
||||
|
@ -119,7 +119,7 @@ int main()
|
|||
NSTextCheckingResult *r = [testObj firstMatchInString: @"ab"
|
||||
options: 0
|
||||
range: NSMakeRange(0,2)];
|
||||
PASS(r, "Found NSTextCheckingResult");
|
||||
PASS(r != nil, "Found NSTextCheckingResult");
|
||||
replacement = @"should be unset on return";
|
||||
replacement = [testObj replacementStringForResult: r
|
||||
inString: @"ab"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue