diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-06-28 21:51:50 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-06-28 21:51:50 +0100 |
| commit | 4b13398d9f4fc303d22fc24aac519113941b032c (patch) | |
| tree | 7422aa51b30de16ff9a90fb8863f1503ef755642 /tests/docx | |
| parent | d046c4297a04b6eecadf01093382b72bb1b71032 (diff) | |
Add stylistic eslint rules
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() { |
