mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
add assert
This commit is contained in:
parent
5dd97a818f
commit
12ba12f889
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user