mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
more testcases
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38523 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5d2cc22bfe
commit
507deac980
1 changed files with 2 additions and 0 deletions
|
@ -430,8 +430,10 @@ int main()
|
|||
|
||||
PASS(YES == [@"hello" hasPrefix: @"hel"], "hello has hel as a prefix");
|
||||
PASS(NO == [@"hello" hasPrefix: @"Hel"], "hello does not have Hel as a prefix");
|
||||
PASS(NO == [@"hello" hasPrefix: @""], "hello does not have an empty string as a prefix");
|
||||
PASS(YES == [@"hello" hasSuffix: @"llo"], "hello has llo as a suffix");
|
||||
PASS(NO == [@"hello" hasSuffix: @"lLo"], "hello does not have lLo as a suffix");
|
||||
PASS(NO == [@"hello" hasSuffix: @""], "hello does not have an empty string as a suffix");
|
||||
|
||||
[arp release]; arp = nil;
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue