aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/docx/body-reader.tests.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/docx/body-reader.tests.js b/test/docx/body-reader.tests.js
index 50506ae..ae59565 100644
--- a/test/docx/body-reader.tests.js
+++ b/test/docx/body-reader.tests.js
@@ -459,7 +459,7 @@ test("isUnderline is true if underline element is present", function() {
assert.equal(run.isUnderline, true);
});
-test("isUnderline is false if underline element is 'none'", function() {
+test("isUnderline is false if underline element is present and w:val is none", function() {
var underlineXml = new XmlElement("w:u", {"w:val": "none"});
var runXml = runWithProperties([underlineXml]);
var run = readXmlElementValue(runXml);