diff options
Diffstat (limited to 'test/document-to-html.tests.js')
| -rw-r--r-- | test/document-to-html.tests.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/document-to-html.tests.js b/test/document-to-html.tests.js index c739900..6134dd0 100644 --- a/test/document-to-html.tests.js +++ b/test/document-to-html.tests.js @@ -435,10 +435,9 @@ test('table cells are written with rowSpan if not equal to one', function() { }); test('line break is converted to <br>', function() { - var lineBreak = new documents.LineBreak(); var converter = new DocumentConverter(); - return converter.convertToHtml(lineBreak).then(function(result) { + return converter.convertToHtml(documents.lineBreak).then(function(result) { assert.equal(result.value, "<br />"); }); }); |
