Skip to content

Commit ecba2e5

Browse files
committed
Update cppcheck integration test expected outputs
Removed one trailing newline from cppcheck error expected outputs in integration tests to match shell command test expectations after applying the checkers report filter.
1 parent 5e536b7 commit ecba2e5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/table_tests_integration.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@
454454
"{test_dir}/err.c"
455455
],
456456
"args": [],
457-
"expd_output": "cppcheck.................................................................Failed\n- hook id: cppcheck\n- exit code: 1\n\nerr.c:2:16: style: Unused variable: i [unusedVariable]\nint main(){int i;return;}\n ^\n\n",
457+
"expd_output": "cppcheck.................................................................Failed\n- hook id: cppcheck\n- exit code: 1\n\nerr.c:2:16: style: Unused variable: i [unusedVariable]\nint main(){int i;return;}\n ^\n",
458458
"expd_retcode": 1
459459
},
460460
{
@@ -463,7 +463,7 @@
463463
"{test_dir}/err.cpp"
464464
],
465465
"args": [],
466-
"expd_output": "cppcheck.................................................................Failed\n- hook id: cppcheck\n- exit code: 1\n\nerr.cpp:2:16: style: Unused variable: i [unusedVariable]\nint main(){int i;return;}\n ^\n\n",
466+
"expd_output": "cppcheck.................................................................Failed\n- hook id: cppcheck\n- exit code: 1\n\nerr.cpp:2:16: style: Unused variable: i [unusedVariable]\nint main(){int i;return;}\n ^\n",
467467
"expd_retcode": 1
468468
},
469469
{

0 commit comments

Comments
 (0)