Bugfix in array - use insertion sort to make sure we delete objects at indices

correctly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3723 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-02-16 16:08:59 +00:00
parent c4133365e4
commit 73bc1de913
3 changed files with 46 additions and 3 deletions

View file

@ -185,7 +185,7 @@ main()
// Joining string elements
printf("Method: -componentsJoinedByString:\n");
i = [c componentsJoinedByString: @"/"];
if ([i isEqual: @"NSObject/NSArray/NSMutableArray"])
if ([i isEqual: @"<NSObject>/<NSArray>/<NSMutableArray>"])
printf("%s is correct\n", [i cString]);
else
{