aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-08-28 20:06:48 +0100
committerMichael Williamson <mike@zwobble.org>2016-08-28 20:06:48 +0100
commit174dc90dc6e13cc3e5a3a89d08f7e651541a9056 (patch)
tree09b6306b7f7e705bf66816201d8763cfce129a54 /test
parentd333cee1c7a7f95cadf5b59e8dbb0124d73852df (diff)
Include error on the error message, rather than just the stack
Diffstat (limited to 'test')
-rw-r--r--test/document-to-html.tests.js1
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);
});
});