From 2b2745f25c725c0c8b846a94b2d8e4298cdbff43 Mon Sep 17 00:00:00 2001 From: lyon Date: Wed, 6 Jul 2022 15:17:59 +0800 Subject: [PATCH] fix test range --- port/linux/test/parse-test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/port/linux/test/parse-test.cpp b/port/linux/test/parse-test.cpp index cfa506cf3..c3b504e38 100644 --- a/port/linux/test/parse-test.cpp +++ b/port/linux/test/parse-test.cpp @@ -3429,6 +3429,7 @@ TEST(parser, str_issue1) { EXPECT_EQ(pikaMemNow(), 0); } +#if PIKA_SYNTEX_FORMAT_ENABLE TEST(parser, str_issue2) { char* lines = "print('ret = %s' % str(ret))\n"; pikaMemInfo.heapUsedMax = 0; @@ -3446,6 +3447,7 @@ TEST(parser, str_issue2) { args_deinit(buffs); EXPECT_EQ(pikaMemNow(), 0); } +#endif TEST(parser, num_issue) { pikaMemInfo.heapUsedMax = 0;