File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 () {
You can’t perform that action at this time.
0 commit comments