Large rework of tables
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2019-09-15 13:08:11 +02:00
parent e89782f921
commit 458274f370
19 changed files with 360 additions and 271 deletions

View File

@@ -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