diff --git a/tests/test-check-config-hg.t b/tests/test-check-config-hg.t
index a48a7c2d1feafbf69ecaa6e6bccc1eb8149c5588_dGVzdHMvdGVzdC1jaGVjay1jb25maWctaGcudA==..8c1d7a0e737b2304bc919d0f276848874c40f3ca_dGVzdHMvdGVzdC1jaGVjay1jb25maWctaGcudA== 100644
--- a/tests/test-check-config-hg.t
+++ b/tests/test-check-config-hg.t
@@ -4,7 +4,7 @@
 
 New errors are not allowed. Warnings are strongly discouraged.
 
-  $ hg files "set:(**.py or **.txt) - tests/**" |
+  $ hg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' |
   >   xargs python contrib/check-config.py
   undocumented: convert.cvsps.cache (bool) [True]
   undocumented: convert.cvsps.fuzz (str) [60]