Skip to content

Commit fcf178c

Browse files
authored
testrunner: added more columns and error IDs to expected output (danmar#7568)
1 parent 9b179ab commit fcf178c

File tree

6 files changed

+294
-281
lines changed

6 files changed

+294
-281
lines changed

test/testgarbage.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ class TestGarbage : public TestFixture {
3838
settings.severity.fill();
3939
settings.certainty.fill();
4040

41+
mNewTemplate = true;
42+
4143
// don't freak out when the syntax is wrong
4244

4345
TEST_CASE(final_class_x);
@@ -403,7 +405,7 @@ class TestGarbage : public TestFixture {
403405
{
404406
SimpleTokenizer tokenizer(settings, *this);
405407
ASSERT(tokenizer.tokenize(code));
406-
ASSERT_EQUALS("[test.cpp:1]: (information) The code 'class x y {' is not handled. You can use -I or --include to add handling of this code.\n", errout_str());
408+
ASSERT_EQUALS("[test.cpp:1:1]: (information) The code 'class x y {' is not handled. You can use -I or --include to add handling of this code. [class_X_Y]\n", errout_str());
407409
}
408410
}
409411

0 commit comments

Comments
 (0)