This commit is contained in:
lyon 2023-05-14 23:31:34 +08:00
parent 03e6b89980
commit 2de9c76609
2 changed files with 4 additions and 0 deletions

View File

@ -3054,6 +3054,7 @@ TEST(pikaMain, _obj_set_str_null) {
EXPECT_EQ(pikaMemNow(), 0);
}
#if !PIKA_NANO_ENABLE
TEST(pikaMain, shell_nolib_print_help) {
char lines[] = {"help(\"modules\")\n"};
/* init */
@ -3069,5 +3070,6 @@ TEST(pikaMain, shell_nolib_print_help) {
obj_deinit(pikaMain);
EXPECT_EQ(pikaMemNow(), 0);
}
#endif
TEST_END

View File

@ -40,6 +40,8 @@ int strGetSizeUtf8(char* str){return 0;}
void PikaStdData_Tuple___init__(PikaObj *self){}
void PikaStdData_List___init__(PikaObj *self){}
void PikaStdData_List_append(PikaObj *self, Arg* arg){}
void PikaStdData_Dict___init__(PikaObj* self){}
void PikaStdData_Dict_set(PikaObj* self, char* key, Arg* val){}
char* string_slice(Args* outBuffs, char* str, int start, int end) {
return NULL;
}