diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-08-28 20:06:48 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-08-28 20:06:48 +0100 |
| commit | 174dc90dc6e13cc3e5a3a89d08f7e651541a9056 (patch) | |
| tree | 09b6306b7f7e705bf66816201d8763cfce129a54 /test | |
| parent | d333cee1c7a7f95cadf5b59e8dbb0124d73852df (diff) | |
Include error on the error message, rather than just the stack
Diffstat (limited to 'test')
| -rw-r--r-- | test/document-to-html.tests.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/document-to-html.tests.js b/test/document-to-html.tests.js index 59eba49..6283b1a 100644 --- a/test/document-to-html.tests.js +++ b/test/document-to-html.tests.js @@ -609,6 +609,7 @@ test('when custom image handler throws error then error is stored in error messa var message = result.messages[0]; assert.equal("error", message.type); assert.equal("Failed to convert image", message.message); + assert.equal(error, message.error); }); }); |
