diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-07-07 20:49:58 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-07-07 20:49:58 +0100 |
| commit | a8db31365fbb243a7c5a62336daea6d458a888f7 (patch) | |
| tree | 7ab3e19180cc0a8b9db59e3de258ed59b4321d22 | |
| parent | b0ff9fc6b25bbe74aaa7245d24a6476b4f5f1ec6 (diff) | |
Test no messages when ignoring comments
| -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 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, []); }); }); |
