More fixes

This commit is contained in:
Raphael Coeffic
2021-06-09 10:32:05 +02:00
parent 247ac2a524
commit d34d789dcc
3 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -47,12 +47,12 @@ TEST(Lua, testSetModelInfo)
luaExecStr("info.name = 'modelA'");
luaExecStr("model.setInfo(info)");
// luaExecStr("print('model name: '..info.name..' id: '..info.id)");
EXPECT_ZSTREQ("modelA", g_model.header.name);
EXPECT_STRNEQ("modelA", g_model.header.name);
luaExecStr("info.name = 'Model 1'");
luaExecStr("model.setInfo(info)");
// luaExecStr("print('model name: '..info.name..' id: '..info.id)");
EXPECT_ZSTREQ("Model 1", g_model.header.name);
EXPECT_STRNEQ("Model 1", g_model.header.name);
}
TEST(Lua, testPanicProtection)