mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
fix test range
This commit is contained in:
parent
1bd3b367f4
commit
2b2745f25c
@ -3429,6 +3429,7 @@ TEST(parser, str_issue1) {
|
|||||||
EXPECT_EQ(pikaMemNow(), 0);
|
EXPECT_EQ(pikaMemNow(), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if PIKA_SYNTEX_FORMAT_ENABLE
|
||||||
TEST(parser, str_issue2) {
|
TEST(parser, str_issue2) {
|
||||||
char* lines = "print('ret = %s' % str(ret))\n";
|
char* lines = "print('ret = %s' % str(ret))\n";
|
||||||
pikaMemInfo.heapUsedMax = 0;
|
pikaMemInfo.heapUsedMax = 0;
|
||||||
@ -3446,6 +3447,7 @@ TEST(parser, str_issue2) {
|
|||||||
args_deinit(buffs);
|
args_deinit(buffs);
|
||||||
EXPECT_EQ(pikaMemNow(), 0);
|
EXPECT_EQ(pikaMemNow(), 0);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
TEST(parser, num_issue) {
|
TEST(parser, num_issue) {
|
||||||
pikaMemInfo.heapUsedMax = 0;
|
pikaMemInfo.heapUsedMax = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user