summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-07-03 20:04:24 +0100
committerMichael Williamson <mike@zwobble.org>2016-07-03 20:04:24 +0100
commitb972f404c37a2d947a88531d7400f4fcd74cffb4 (patch)
tree7fa7f41d2dddf3b7841bf49947b6f4bc0bca7d1c
parenta4413f9bc10dbb18d5c5b96ce00143dbfb94f784 (diff)
Check value when unrecognised element is read
-rw-r--r--test/docx/body-reader.tests.js1
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() {