From cce53e86f0e517714815324d5c7fc61df2bcda53 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 9 Sep 2020 10:34:24 +0100 Subject: Use more consistent test name --- test/docx/body-reader.tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3