diff --git a/tests/test-check-code-hg.t b/tests/test-check-code-hg.t --- a/tests/test-check-code-hg.t +++ b/tests/test-check-code-hg.t @@ -26,6 +26,5 @@ Prepare check for Python files without p New errors are not allowed. Warnings are strongly discouraged. - $ { hg manifest 2>/dev/null; ls "$TESTTMP"/*.py; } \ - > | xargs "$check_code" --warnings --per-file=0 \ - > || false + $ { hg manifest 2>/dev/null; ls "$TESTTMP"/*.py | sed 's-\\-/-g'; } | + > xargs "$check_code" --warnings --per-file=0 || false