From bbe5a10d76befb6010ae95ad83d51f37d17069a5 Mon Sep 17 00:00:00 2001 From: water111 <48171810+water111@users.noreply.github.com> Date: Wed, 3 Feb 2021 08:36:22 -0500 Subject: [PATCH] fix stuck inline test (#229) --- test/goalc/test_control_statements.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/goalc/test_control_statements.cpp b/test/goalc/test_control_statements.cpp index f55f41ac08..79146f3883 100644 --- a/test/goalc/test_control_statements.cpp +++ b/test/goalc/test_control_statements.cpp @@ -100,12 +100,10 @@ TEST_F(ControlStatementTests, ReturnValue) { TEST_F(ControlStatementTests, Calling) { runner->run_static_test(env, testCategory, "nested-call.static.gc", {"2\n"}); - runner->run_static_test(env, testCategory, "inline-call.static.gc", {"44\n"}); runner->run_static_test(env, testCategory, "simple-call.static.gc", {"30\n"}); } TEST_F(ControlStatementTests, Anonymous) { - runner->run_static_test(env, testCategory, "declare-inline.static.gc", {"32\n"}); runner->run_static_test(env, testCategory, "lambda-1.static.gc", {"2\n"}); } @@ -125,6 +123,7 @@ TEST_F(ControlStatementTests, InlineIsInline) { } } EXPECT_TRUE(got_mult); + runner->run_static_test(env, testCategory, "declare-inline.static.gc", {"32\n"}); } TEST_F(ControlStatementTests, AllowInline) { @@ -146,6 +145,7 @@ TEST_F(ControlStatementTests, AllowInline) { } EXPECT_EQ(got_mult, 1); EXPECT_EQ(got_call, 1); + runner->run_static_test(env, testCategory, "inline-call.static.gc", {"44\n"}); } TEST_F(ControlStatementTests, ReturnNone) {