mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-28 22:49:47 +02:00
fix screws bugs relating to oversizing
This commit is contained in:
@@ -31,6 +31,7 @@ module test_struct_remove() {
|
||||
assert(struct_remove(st, ["Baz","Baz"]) == [["Foo",91],["Bar",28]]);
|
||||
assert(struct_remove(st, ["Baz","Foo"]) == [["Bar",28]]);
|
||||
assert(struct_remove(st, []) == st);
|
||||
assert(struct_remove(st, ["Bar","niggle"]) == [["Foo",91],["Baz",9]]);
|
||||
assert(struct_remove(st, struct_keys(st)) == []);
|
||||
}
|
||||
test_struct_remove();
|
||||
|
Reference in New Issue
Block a user