diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-12-05 19:24:00 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-12-05 19:24:00 +0000 |
| commit | a3a22525e85db9f9b576fa3b3e4210778d9d7603 (patch) | |
| tree | 9a683b4ee21beb70b135b316116873cc4cbc5643 /test/docx | |
| parent | 2fe97dd468faa0d89cd6069bd0ba3b08c38e362e (diff) | |
Revert "Handle XML documents that are missing a root element"
This reverts commit ae06a2bacfb74c88340e900e8a29336418936e9e.
Diffstat (limited to 'test/docx')
| -rw-r--r-- | test/docx/office-xml-reader.tests.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/test/docx/office-xml-reader.tests.js b/test/docx/office-xml-reader.tests.js index 6adb970..a017315 100644 --- a/test/docx/office-xml-reader.tests.js +++ b/test/docx/office-xml-reader.tests.js @@ -4,15 +4,6 @@ var xml = require("../../lib/xml"); var officeXmlReader = require("../../lib/docx/office-xml-reader"); var test = require("../test")(module); -test("read", { - "when document is missing root element then null is returned": function() { - var xmlString = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'; - - return officeXmlReader.read(xmlString).then(function(element) { - assert.strictEqual(element, null); - }); - } -}); test("mc:AlternateContent", { "when mc:Fallback is present then mc:Fallback is read": function() { |
