Skip to content

Make file paths in config_test OS agnostic#128

Merged
kytrinyx merged 1 commit intoexercism:masterfrom
parkersikand:master
Oct 2, 2014
Merged

Make file paths in config_test OS agnostic#128
kytrinyx merged 1 commit intoexercism:masterfrom
parkersikand:master

Conversation

@parkersikand
Copy link
Copy Markdown
Contributor

When trying to do an initial build on Windows 8, the modified tests were failing because they were expecting unix '/'s, but were getting windows style double-backslash. The filepath.FromSlash function was trivially easy to use, and made the tests pass on my system.

Note: I otherwise have absolutely NO clue what these tests are actually doing...

@kytrinyx
Copy link
Copy Markdown
Member

kytrinyx commented Oct 2, 2014

Oh, nice find! I've tried to use FromSlash() or Clean() etc where appropriate, but it's hard to catch them when the tests just pass on my system.

Thank you ❤️

kytrinyx added a commit that referenced this pull request Oct 2, 2014
Make file paths in config_test OS agnostic
@kytrinyx kytrinyx merged commit 16bbc12 into exercism:master Oct 2, 2014
lcowell pushed a commit to lcowell/cli that referenced this pull request Jan 25, 2015
Make file paths in config_test OS agnostic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants