mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34440 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
de0e5ddf1f
commit
4e6fcf1697
1 changed files with 2 additions and 0 deletions
|
@ -29,9 +29,11 @@ int main()
|
|||
PASS_RUNS([root insertChild: child2 atIndex: 0],
|
||||
"may add a child at index 0");
|
||||
PASS(1 == [[root children] count], "parent has a child after insertion");
|
||||
PASS_EQUAL([child2 parent], root, "child has correct parent");
|
||||
PASS_RUNS([root removeChildAtIndex: 0],
|
||||
"removing child works");
|
||||
PASS_EQUAL([root children], nil, "children is nil after removal");
|
||||
PASS_EQUAL([child2 parent], nil, "child has no parent");
|
||||
PASS_RUNS([root insertChild: child2 atIndex: 0],
|
||||
"may reinsert a child at index 0");
|
||||
|
||||
|
|
Loading…
Reference in a new issue