mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-04 10:30:47 +00:00
ifix for issue #500
This commit is contained in:
parent
0057f3f4e9
commit
b39853e21a
3 changed files with 18 additions and 3 deletions
|
@ -361,6 +361,17 @@ int main()
|
|||
[uobj containsObject: @"Now"]),
|
||||
"Object unarchives correctly from macOS archive")
|
||||
|
||||
[array removeAllObjects];
|
||||
[array addObject: @"1"];
|
||||
[array addObject: @"2"];
|
||||
[array addObject: @"3"];
|
||||
[array addObject: @"4"];
|
||||
[array addObject: @"5"];
|
||||
|
||||
NSMutableOrderedSet *ms = [NSMutableOrderedSet orderedSetWithArray: array];
|
||||
[ms removeObjectsAtIndexes:
|
||||
[NSIndexSet indexSetWithIndexesInRange: NSMakeRange(0, [array count])]];
|
||||
|
||||
test_NSObject(@"NSOrderedSet", testObjs);
|
||||
test_NSCoding(testObjs);
|
||||
test_NSCopying(@"NSOrderedSet", @"NSMutableOrderedSet", testObjs, YES, NO);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue