diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/docx/files.tests.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docx/files.tests.js b/tests/docx/files.tests.js index 9f5bb38..10751d4 100644 --- a/tests/docx/files.tests.js +++ b/tests/docx/files.tests.js @@ -43,7 +43,7 @@ describe("Files", function() { test("error if relative uri cannot be opened", function() { var files = new Files("/tmp"); return assertError(files.read("not-a-real-file.png", "base64"), function(err) { - assertRegex(err.message, /could not open external image: 'not-a-real-file.png' \(document directory: '\/tmp'\)\nENOENT,.*'\/tmp\/not-a-real-file.png'.*/); + assertRegex(err.message, /could not open external image: 'not-a-real-file.png' \(document directory: '\/tmp'\)\nENOENT.*\/tmp\/not-a-real-file.png.*/); }); }); }); |
