diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-11-28 17:59:14 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-11-28 17:59:14 +0000 |
| commit | bb3d113828218fa29dae16cae6f2ff5e05e48564 (patch) | |
| tree | 3eef75e7004185852fba00f0e0366888d37609a0 /test/document-to-html.tests.js | |
| parent | 611e0c9af7c1948ad46c5471a426ec751e73a1ea (diff) | |
Change LineBreak to Break with a break type
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 />"); }); }); |
