Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests from fs_test.go do not work on Windows #7

Closed
PlkMarudny opened this issue Jul 9, 2017 · 1 comment
Closed

Tests from fs_test.go do not work on Windows #7

PlkMarudny opened this issue Jul 9, 2017 · 1 comment

Comments

@PlkMarudny
Copy link

In line 21 there is a statement:

filename := path.Base(file.Name())

while it should be

filepath.Base(file.Name())

to handle filesystem path on Linux and Windows (filepath is imported from 'path/filepath')

@thoas
Copy link
Member

thoas commented Jul 9, 2017

we don't plan to support Windows, you can send a PR if you want.

@thoas thoas closed this as completed Jul 9, 2017
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

No branches or pull requests

2 participants