diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-07-03 20:04:24 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-07-03 20:04:24 +0100 |
| commit | b972f404c37a2d947a88531d7400f4fcd74cffb4 (patch) | |
| tree | 7fa7f41d2dddf3b7841bf49947b6f4bc0bca7d1c | |
| parent | a4413f9bc10dbb18d5c5b96ce00143dbfb94f784 (diff) | |
Check value when unrecognised element is read
| -rw-r--r-- | test/docx/body-reader.tests.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/docx/body-reader.tests.js b/test/docx/body-reader.tests.js index 91c2950..fa21f8c 100644 --- a/test/docx/body-reader.tests.js +++ b/test/docx/body-reader.tests.js @@ -617,6 +617,7 @@ describe("readXmlElement: ", function() { message: "An unrecognised element was ignored: w:not-an-element" }] ); + assert.deepEqual(result.value, []); }); test("w:bookmarkEnd is ignored without warning", function() { |
