Skip to content

Fix path separator issues in tests. #3045

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

Merged
merged 1 commit into from
Jun 22, 2013
Merged

Conversation

marchaefner
Copy link
Collaborator

Some tests fail under Windows due to hardcoded *nix path separators.

@vendethiel
Copy link
Collaborator

Mmh, are you getting failure messages? I'm not getting any in windows.

@vendethiel
Copy link
Collaborator

but maybe they're not running

@marchaefner
Copy link
Collaborator Author

I've got right now (with the changes in this PR):

passed 513 tests in 3.90 seconds

@vendethiel
Copy link
Collaborator

Indeed, I was on an outdated branch !

Thanks :).

vendethiel added a commit that referenced this pull request Jun 22, 2013
Fix path separator issues in tests.
@vendethiel vendethiel merged commit ef5f58e into jashkenas:master Jun 22, 2013
@jashkenas
Copy link
Owner

I'm still confused as to when Node is supposed to handle normalized path names, or not. Does it not do any normalization anymore? Was that only back in the old Node-just-runs-under-Cygwin days?

@xixixao
Copy link
Contributor

xixixao commented Jun 25, 2013

As per the PR, on print out Node prints the OS version.

$ node
> fs.stat("../bla\\hello")
> fs: missing callback Error: ENOENT, stat 'c:\Work\bla\hello'

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.

4 participants