diff --git a/tests/run-tests.py b/tests/run-tests.py
index c312ef382033f1ab7cd8213f9f258d4c0f56b37b_dGVzdHMvcnVuLXRlc3RzLnB5..605a8cb61a0c59e102cbb9a3ba845ea0754efe79_dGVzdHMvcnVuLXRlc3RzLnB5 100755
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -298,6 +298,7 @@
     lines = []
     for line in difflib.unified_diff(expected, output, ref, err):
         if line.startswith('+++') or line.startswith('---'):
+            line = line.replace('\\', '/')
             if line.endswith(' \n'):
                 line = line[:-2] + '\n'
         lines.append(line)