diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-03-28 13:45:05 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-03-28 13:45:14 +0100 |
| commit | f31e5ac93358e84a3cd02c53def6dee0906ce3de (patch) | |
| tree | 4b0d5dd3036a07333e528dfcbf6e05fc6b8bc380 | |
| parent | d2647432fac280809055288e6e2a1211e110da50 (diff) | |
Further loosen error message assertion
| -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.*/); }); }); }); |
