Closed timotheecour closed 6 years ago
The results are actually correct, it's just a casing difference between expected & actual.
We're expecting:
temp/deep/dir/file.nim
temp/not_as/deep.jpg
temp/not_as/deep.nim
temp/shallow.nim
But on macOS we receive:
TEMP/deep/dir/file.nim
TEMP/not_as/deep.jpg
TEMP/not_as/deep.nim
TEMP/shallow.nim
I'm not entirely sure yet why this is different on macOS than it is on Windows which is also case insensitive.
edit: traced it to this spot, which evidently isn't enough on macOS systems so if we want to match filesystem casing (and I'd like to) we'll need to find another way.
edit 2: expandFilename
would probably do it
/cc @citycide
nimble test
I'm on OSX. this is on a fresh clone