Skip to content

Commit 22d9f37

Browse files
committed
TestPreprocessor: adjusted some expectd results
1 parent d6f4d5d commit 22d9f37

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/testpreprocessor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1996,12 +1996,12 @@ class TestPreprocessor : public TestFixture {
19961996

19971997
void invalid_define_1() {
19981998
(void)getcode(settings0, *this, "#define =\n");
1999-
ASSERT_EQUALS("[file.c:1:2]: (error) Failed to parse #define [syntaxError]\n", errout_str());
1999+
ASSERT_EQUALS("[file.c:1:2]: (error) Failed to parse #define, bad macro syntax [syntaxError]\n", errout_str());
20002000
}
20012001

20022002
void invalid_define_2() { // #4036
20032003
(void)getcode(settings0, *this, "#define () {(int f(x) }\n");
2004-
ASSERT_EQUALS("[file.c:1:2]: (error) Failed to parse #define [syntaxError]\n", errout_str());
2004+
ASSERT_EQUALS("[file.c:1:2]: (error) Failed to parse #define, bad macro syntax [syntaxError]\n", errout_str());
20052005
}
20062006

20072007
void inline_suppressions() {

0 commit comments

Comments
 (0)