mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Update ghoul to use new luaTableToString function
And update some tests based on the change
This commit is contained in:
Submodule ext/ghoul updated: dfb0af83c6...928d89a59b
@@ -110,7 +110,7 @@ TEST_CASE("StringListProperty: Get Lua Value", "[stringlistproperty]") {
|
||||
p.getLuaValue(L);
|
||||
|
||||
REQUIRE(ghoul::lua::luaValueToString(L, 1) ==
|
||||
"{ 1.000000 = a, 2.000000 = b, 3.000000 = c }"
|
||||
"{ [1] = \"a\", [2] = \"b\", [3] = \"c\" }"
|
||||
);
|
||||
}
|
||||
|
||||
@@ -221,7 +221,7 @@ TEST_CASE("IntListProperty: Get Lua Value", "[intlistproperty]") {
|
||||
p.getLuaValue(L);
|
||||
|
||||
REQUIRE(ghoul::lua::luaValueToString(L, 1) ==
|
||||
"{ 1.000000 = 1.000000, 2.000000 = 2.000000, 3.000000 = 3.000000 }"
|
||||
"{ [1] = 1.000000, [2] = 2.000000, [3] = 3.000000 }"
|
||||
);
|
||||
}
|
||||
|
||||
@@ -332,7 +332,7 @@ TEST_CASE("DoubleListProperty: Get Lua Value", "[doublelistproperty]") {
|
||||
p.getLuaValue(L);
|
||||
|
||||
REQUIRE(ghoul::lua::luaValueToString(L, 1) ==
|
||||
"{ 1.000000 = 1.000000, 2.000000 = 2.000000, 3.000000 = 3.000000 }"
|
||||
"{ [1] = 1.000000, [2] = 2.000000, [3] = 3.000000 }"
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user