add assert

This commit is contained in:
pikastech 2022-07-15 12:10:36 +08:00
parent 5dd97a818f
commit 12ba12f889

View File

@ -46,7 +46,9 @@ TEST(configparser, test2) {
/* run */
pikaVM_runSingleFile(pikaMain,"test/python/configparser/test2.py");
/* collect */
char* font_color = obj_getStr(pikaMain, "font_color");
/* assert */
EXPECT_STREQ("#000000", font_color);
/* deinit */
obj_deinit(pikaMain);
EXPECT_EQ(pikaMemNow(), 0);