summary refs log tree commit diff stats
path: root/nimdoc/tester.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-09-13 23:18:51 +0200
committerAraq <rumpf_a@web.de>2018-09-13 23:18:51 +0200
commit9b29436f629b85301e1cfce8c0a502d45a2ad6fe (patch)
tree8cd67fc3959a9d9bdf050746a76860c20191a944 /nimdoc/tester.nim
parent7d9c5be3332e2dcd1814c3c042dfed74b8d6e49a (diff)
downloadNim-9b29436f629b85301e1cfce8c0a502d45a2ad6fe.tar.gz
make documentation generator tests green again
Diffstat (limited to 'nimdoc/tester.nim')
-rw-r--r--nimdoc/tester.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimdoc/tester.nim b/nimdoc/tester.nim
index 58117987b..e0afe6b94 100644
--- a/nimdoc/tester.nim
+++ b/nimdoc/tester.nim
@@ -14,7 +14,7 @@ proc test(dir: string; fixup = false) =
     quit("FAILURE: nim buildIndex failed")
 
   for expected in walkDirRec(dir / "expected/"):
-    let produced = expected.replace("/expected/", "/htmldocs/")
+    let produced = expected.replace('\\', '/').replace("/expected/", "/htmldocs/")
     if not fileExists(produced):
       echo "FAILURE: files not found: ", produced
       inc failures