make documentation generator tests green again

This commit is contained in:
Araq 2018-09-13 23:18:51 +02:00
commit 9b29436f62
4 changed files with 11 additions and 6 deletions

View file

@ -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