summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2018-04-02 09:56:17 +0100
committerMichael Williamson <mike@zwobble.org>2018-04-02 09:56:17 +0100
commit202a554e884e06f671d8f6b230b6123a473a9caf (patch)
tree3aac44c8e9b3c7442f79fad254df8dca3b98f246 /test
parent08cade6674f38354f9bb6c3d1cb8359f7ca6d337 (diff)
Read the children of v:rect elements
Diffstat (limited to 'test')
-rw-r--r--test/docx/body-reader.tests.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/docx/body-reader.tests.js b/test/docx/body-reader.tests.js
index ceeb9c1..a458834 100644
--- a/test/docx/body-reader.tests.js
+++ b/test/docx/body-reader.tests.js
@@ -1000,6 +1000,10 @@ test("children of v:group are converted normally", function() {
assertChildrenAreConvertedNormally("v:group");
});
+test("children of v:rect are converted normally", function() {
+ assertChildrenAreConvertedNormally("v:rect");
+});
+
function assertChildrenAreConvertedNormally(tagName) {
var runXml = new XmlElement("w:r", {}, []);
var result = readXmlElement(new XmlElement(tagName, {}, [runXml]));