diff options
author | Araq <rumpf_a@web.de> | 2018-09-13 23:18:51 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-09-13 23:18:51 +0200 |
commit | 9b29436f629b85301e1cfce8c0a502d45a2ad6fe (patch) | |
tree | 8cd67fc3959a9d9bdf050746a76860c20191a944 /nimdoc/tester.nim | |
parent | 7d9c5be3332e2dcd1814c3c042dfed74b8d6e49a (diff) | |
download | Nim-9b29436f629b85301e1cfce8c0a502d45a2ad6fe.tar.gz |
make documentation generator tests green again
Diffstat (limited to 'nimdoc/tester.nim')
-rw-r--r-- | nimdoc/tester.nim | 2 |
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 |