aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/docx/files.tests.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/docx/files.tests.js b/tests/docx/files.tests.js
index fecc6eb..a21bc93 100644
--- a/tests/docx/files.tests.js
+++ b/tests/docx/files.tests.js
@@ -29,4 +29,8 @@ describe("uriToPath", function() {
test("leading slash is retained on non-Windows file URIs", function() {
assert.equal(uriToPath("file:///a/b/c"), "/a/b/c");
});
+
+ test("URI is unquoted", function() {
+ assert.equal(uriToPath("file:///a%20b"), "/a b");
+ });
});