make documentation generator tests green again
This commit is contained in:
parent
7d9c5be333
commit
9b29436f62
4 changed files with 11 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue