This commit is contained in:
@@ -87,6 +87,18 @@ return table["getFoo"]()
|
||||
delete script;
|
||||
}
|
||||
|
||||
TEST_CASE( "Dynamic table size", "[integration]" ) {
|
||||
Script* script = Script::Create(
|
||||
R"(
|
||||
table = {}
|
||||
table.foo = 500
|
||||
)");
|
||||
REQUIRE(!script->Diagnostics -> HasErrors());
|
||||
script->Evaluate();
|
||||
delete script;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user