We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd8e4f6 commit 8c0e87fCopy full SHA for 8c0e87f
1 file changed
test/simple/test-path.js
@@ -39,6 +39,10 @@ assert.equal(path.extname("file."), ".");
39
40
assert.equal(path.join(".", "fixtures/b", "..", "/b/c.js"), "fixtures/b/c.js");
41
assert.equal(path.join("/foo", "../../../bar"), "/bar");
42
+assert.equal(path.join('./'), '.');
43
+assert.equal(path.join('.'), '.');
44
+assert.equal(path.join('', 'foo'), 'foo');
45
+assert.equal(path.join('foo', '/bar'), 'foo/bar');
46
47
assert.equal(path.normalize("./fixtures///b/../b/c.js"), "fixtures/b/c.js");
48
assert.equal(path.normalize("./fixtures///b/../b/c.js",true), "fixtures///b/c.js");
0 commit comments