Stackable: Fixed unit test 17

The test simply had a wrong expectation.
liquid_container
Mark 2016-03-10 17:20:45 +01:00
parent 862c4ad312
commit 2e8ed77f56
1 changed files with 2 additions and 2 deletions

View File

@ -1275,8 +1275,8 @@ global func Test17_Execute()
passed &= doTest("The entrance gets handled by TryPutInto(). Got %v, expected %v.", infinite->TryPutInto(bow), true);
passed &= doTest("The object got removed. Got %v, expected %v.", infinite, nil);
passed &= doTest("The stack inside the weapon inside the container is not infinite. Got %v, expected %v.", ammo->IsInfiniteStackCount(), false);
passed &= doTest("The stack inside the container is infinite. Got %v, expected %v.", finite->IsInfiniteStackCount(), true);
passed &= doTest("The stack inside the weapon inside the container is not infinite. Got %v, expected %v.", ammo->IsInfiniteStackCount(), true);
passed &= doTest("The stack inside the container is infinite. Got %v, expected %v.", finite->IsInfiniteStackCount(), false);
finite->RemoveObject();
ammo->RemoveObject();