Skip to content

Commit

Permalink
CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
olabetskyi committed Feb 2, 2024
1 parent 692a267 commit f2d96f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/cli/more-projects_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,7 @@ def test_json_file_ignore_2(tmpdir):


def test_project_missing_files():
filename = os.path.join('invalid-project', 'main.c')
ret, _, stderr = cppcheck(['--template=cppcheck1', '--project=' + os.path.join('invalid-project', 'invalid-project.vcxproj')])
assert ret == 0
assert stderr == '[invalid-project/main.c:0]: (error) File invalid-project/main.c does not exists. Skipping file.\n'
assert stderr == '[{}:0]: (error) File {} does not exists. Skipping file.\n'.format(filename, filename)

0 comments on commit f2d96f3

Please sign in to comment.