diff options
| author | Michael Williamson <mike@zwobble.org> | 2018-05-12 18:37:56 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2018-05-12 18:37:56 +0100 |
| commit | 3d1e91e36b259dc8a648c43134f91d334b8d2da4 (patch) | |
| tree | cf3b6acdde44bd1e2b2d517382881df051847454 /test | |
| parent | d3f02ae97fadff8209a3bda6644b8334c3b01279 (diff) | |
Remove unused code
Diffstat (limited to 'test')
| -rw-r--r-- | test/writers/html-writer.tests.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/writers/html-writer.tests.js b/test/writers/html-writer.tests.js index b91cba8..0b48d73 100644 --- a/test/writers/html-writer.tests.js +++ b/test/writers/html-writer.tests.js @@ -92,8 +92,8 @@ test('run of text has only one new line', function() { test('run of html has only one new line', function() { var writer = htmlWriter.writer({prettyPrint: true}); writer.open("p"); - writer.append("One"); - writer.append("Two"); + writer.text("One"); + writer.text("Two"); writer.close("p"); return assert.equal(writer.asString(), "<p>\n OneTwo\n</p>"); }); @@ -109,7 +109,7 @@ test('self closing elements are indented', function() { test('newlines in appended HTML are indented', function() { var writer = htmlWriter.writer({prettyPrint: true}); writer.open("p"); - writer.append("One\nTwo"); + writer.text("One\nTwo"); writer.close("p"); return assert.equal(writer.asString(), "<p>\n One\n Two\n</p>"); }); |
