Skip to content

Commit 1a8a40e

Browse files
committed
test/cli: tweak exclude path to make it work in windows
1 parent 4adc377 commit 1a8a40e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/cli/test-proj2.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def test_gui_project_loads_compile_commands_2():
8282
' <root name="."/>'
8383
' <importproject>compile_commands.json</importproject>'
8484
' <exclude>'
85-
' <path name="' + os.path.join(os.getcwd(), 'proj2', 'b') + '"/>'
85+
' <path name="' + os.path.join(os.getcwd(), 'proj2', 'b').replace('\\', '/') + '"/>'
8686
' </exclude>'
8787
'</project>')
8888
f = open('proj2/test.cppcheck', 'wt')

0 commit comments

Comments
 (0)