diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/zipfile.tests.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/zipfile.tests.js b/test/zipfile.tests.js index d539307..52389a8 100644 --- a/test/zipfile.tests.js +++ b/test/zipfile.tests.js @@ -29,5 +29,12 @@ test("joinZipPath", { zipfile.joinZipPath("one/two", "three/four"), "one/two/three/four" ) + }, + + "joining base to absolute path ignores base": function() { + assert.equal( + zipfile.joinZipPath("one/two", "/three/four"), + "/three/four" + ) } }); |
