From 936b74f2d0415dd73fa6471eea4daf6b32b07051 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 5 Jul 2014 19:28:03 +0100 Subject: Update expected output for tables --- tests/mammoth.tests.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/mammoth.tests.js b/tests/mammoth.tests.js index bcdeea3..35a19ff 100644 --- a/tests/mammoth.tests.js +++ b/tests/mammoth.tests.js @@ -93,7 +93,13 @@ describe('mammoth', function() { return; var docxPath = path.join(__dirname, "test-data/tables.docx"); return mammoth.convertToHtml({path: docxPath}).then(function(result) { - assert.equal(result.value, "

Above

Top leftTop right
Bottom leftBottom right

Below

"); + var expectedHtml = "

Above

" + + "" + + "" + + "" + + "

Top left

Top right

Bottom left

Bottom right

" + + "

Below

"; + assert.equal(result.value, expectedHtml); assert.deepEqual(result.messages, []); }); }); -- cgit v1.2.3