-
Notifications
You must be signed in to change notification settings - Fork 68
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
On Windows the dir separator must be '\\' and not '/' #224
Comments
It is unclear to me what the problem here is. What are you trying to do? What happens? What would you expect to happen instead? Which versions of Julia and JuliaCoverage? |
Well, I thought it was clear. In my first command above that used
Coverage v0.9.1 |
One more thing. This came up because I was following the example in the README that says
So, maybe it's just a question of updating the README example (though the form with |
The general way to do this is |
I don't see what is wrong about that answer, unless you happen to have a file with that name (including a slash in the name) around... But of course the example in the README is indeed misleading! So I'll follow what @ararslan suggested. |
What is wrong with that answer is simply that it is WRONG. The file does exist as is demonstrated by the answer to the command that uses |
It is only wrong if one assumes that slashes should silently be converted to backslashes on Windows. AFAIK, neither Julia nor Coverage.jl promise to do that. Thus, your assumptions were wrong, and you were using an invalid path. And so the output is exactly what I'd expect to see. |
The text was updated successfully, but these errors were encountered: