diff options
Diffstat (limited to 'tests/docx')
| -rw-r--r-- | tests/docx/files.tests.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/docx/files.tests.js b/tests/docx/files.tests.js index 10751d4..2a0919c 100644 --- a/tests/docx/files.tests.js +++ b/tests/docx/files.tests.js @@ -74,7 +74,9 @@ describe("uriToPath", function() { }); test("when host is set but not localhost then path cannot be found", function() { - assert.throws(function() { uriToPath("file://example/a/b/c"); }, /Could not convert URI to path: file:\/\/example\/a\/b\/c/); + assert.throws(function() { + uriToPath("file://example/a/b/c"); + }, /Could not convert URI to path: file:\/\/example\/a\/b\/c/); }); test("leading slash is not dropped on Windows file URIs when platform is not Windows", function() { |
