From 876f56407c7ac7b5e0d1e369d8c85dbe30c4000f Mon Sep 17 00:00:00 2001 From: Max Glass Date: Mon, 23 Dec 2024 14:02:36 -0600 Subject: [PATCH] Make test not dependant on compiler error output --- exchange/test/src/integration/tests/linter_cpp_test.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exchange/test/src/integration/tests/linter_cpp_test.cpp b/exchange/test/src/integration/tests/linter_cpp_test.cpp index b66bc4c2..8c82ad0b 100644 --- a/exchange/test/src/integration/tests/linter_cpp_test.cpp +++ b/exchange/test/src/integration/tests/linter_cpp_test.cpp @@ -125,8 +125,7 @@ TEST(IntegrationLinterCppTest, SyntaxErrorDetection) { auto lint_result = spawn_client(SYNTAX_ERROR, AlgoLanguage::cpp); ASSERT_FALSE(lint_result.success); - EXPECT_TRUE(lint_result.message.contains("‘SYNTAX’ was not declared in this scope") - ); + EXPECT_TRUE(lint_result.message.contains("SYNTAX ERROR")); } TEST(IntegrationLinterCppTest, RuntimeError)