aboutsummaryrefslogtreecommitdiff
path: root/test/document-to-html.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-07-07 20:49:58 +0100
committerMichael Williamson <mike@zwobble.org>2016-07-07 20:49:58 +0100
commita8db31365fbb243a7c5a62336daea6d458a888f7 (patch)
tree7ab3e19180cc0a8b9db59e3de258ed59b4321d22 /test/document-to-html.tests.js
parentb0ff9fc6b25bbe74aaa7245d24a6476b4f5f1ec6 (diff)
Test no messages when ignoring comments
Diffstat (limited to 'test/document-to-html.tests.js')
-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 a4678ec..d765a30 100644
--- a/test/document-to-html.tests.js
+++ b/test/document-to-html.tests.js
@@ -502,6 +502,7 @@ describe('DocumentConverter', function() {
var converter = new DocumentConverter({});
return converter.convertToHtml(document).then(function(result) {
assert.equal(result.value, '<p>Knock knock</p>');
+ assert.deepEqual(result.messages, []);
});
});