From 4b13398d9f4fc303d22fc24aac519113941b032c Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 28 Jun 2016 21:51:50 +0100 Subject: Add stylistic eslint rules --- tests/docx/files.tests.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/docx') 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() { -- cgit v1.2.3