Author: rfm
Date: Fri May 22 17:30:23 2015
New Revision: 38523

URL: http://svn.gna.org/viewcvs/gnustep?rev=38523&view=rev
Log:
more testcases

Modified:
    libs/base/trunk/Tests/base/NSString/test00.m

Modified: libs/base/trunk/Tests/base/NSString/test00.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Tests/base/NSString/test00.m?rev=38523&r1=38522&r2=38523&view=diff
==============================================================================
--- libs/base/trunk/Tests/base/NSString/test00.m        (original)
+++ libs/base/trunk/Tests/base/NSString/test00.m        Fri May 22 17:30:23 2015
@@ -430,8 +430,10 @@
   
   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;


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to