diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/zipfile.tests.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/zipfile.tests.js b/test/zipfile.tests.js index c838548..d539307 100644 --- a/test/zipfile.tests.js +++ b/test/zipfile.tests.js @@ -22,3 +22,12 @@ function emptyZipFile() { var buffer = zip.generate({type: "arraybuffer"}); return zipfile.openArrayBuffer(buffer); } + +test("joinZipPath", { + "joins relative path to base using forward slash": function() { + assert.equal( + zipfile.joinZipPath("one/two", "three/four"), + "one/two/three/four" + ) + } +}); |
