aboutsummaryrefslogtreecommitdiff
path: root/tests/docx
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-06-28 21:51:50 +0100
committerMichael Williamson <mike@zwobble.org>2016-06-28 21:51:50 +0100
commit4b13398d9f4fc303d22fc24aac519113941b032c (patch)
tree7422aa51b30de16ff9a90fb8863f1503ef755642 /tests/docx
parentd046c4297a04b6eecadf01093382b72bb1b71032 (diff)
Add stylistic eslint rules
Diffstat (limited to 'tests/docx')
-rw-r--r--tests/docx/files.tests.js4
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() {