mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
test for appending bare separator
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37674 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0e694147f0
commit
4980155210
1 changed files with 3 additions and 0 deletions
|
@ -63,6 +63,9 @@ NSLog(@"Developer: %@", NSSearchPathForDirectoriesInDomains(NSDeveloperDirectory
|
|||
PASS([[@"/home/nicola./" pathExtension] isEqual: @""],
|
||||
"[@\"/home/nicola./\" pathExtension] == @\"\"");
|
||||
|
||||
PASS_EQUAL([@"/home" stringByAppendingPathComponent: @"/"], @"/home",
|
||||
"'/home' stringByAppendingPathComponent: '/' == '/home'");
|
||||
|
||||
PASS([[@"/home" stringByAppendingPathComponent: @"nicola.jpg"] isEqual: @"/home/nicola.jpg"],
|
||||
"'/home' stringByAppendingPathComponent: 'nicola.jpg' == '/home/nicola.jpg'");
|
||||
|
||||
|
|
Loading…
Reference in a new issue