Closed timotheecour closed 4 years ago
@timotheecour took me a bit to remember how I wrote the tests :laughing:
This template is used as a string literal prefix for all the test cases and splits on /
, then uses os.joinPath
to stitch the parts back up with the correct OS directory separator:
https://github.com/citycide/glob/blob/e126bc92b53668fa41215407087b48e422c62b8a/tests.nim#L21-L22
ohhh i c....
this test seems weird on windows:
shouldn't it return paths with
\
on windows (like os.walkDirRec etc) ?likewise with other tests on windows