Skip to content

Instantly share code, notes, and snippets.

@piscisaureus
Created August 21, 2012 19:54
Show Gist options
  • Save piscisaureus/3418840 to your computer and use it in GitHub Desktop.
Save piscisaureus/3418840 to your computer and use it in GitHub Desktop.
D:\node4>node test\simple\test-path
assert.js:102
throw new assert.AssertionError({
^
AssertionError:
path.join("//foo/","bar")
expect="\\\\foo\\bar\\"
actual="\\foo\\bar"
path.join("//foo","/bar")
expect="\\\\foo\\bar\\"
actual="\\foo\\bar"
path.join("//foo/","","bar")
expect="\\\\foo\\bar\\"
actual="\\foo\\bar"
path.join("//foo/","","/bar")
expect="\\\\foo\\bar\\"
actual="\\foo\\bar"
path.join("","//foo/","bar")
expect="\\\\foo\\bar\\"
actual="\\foo\\bar"
path.join("","//foo/","/bar")
expect="\\\\foo\\bar\\"
actual="\\foo\\bar"
path.join("\\","/foo/bar")
expect="\\foo\\bar"
actual="\\\\foo\\bar\\"
path.join("","/","/foo/bar")
expect="\\foo\\bar"
actual="\\\\foo\\bar\\"
at Object.<anonymous> (D:\node4\test\simple\test-path.js:245:8)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment