Commit 8e6c5c7 for mammothjs
commit 8e6c5c7a3387b43b5d10f81357f7a1e1d87f451b
Author: Michael Williamson <mike@zwobble.org>
Date: Thu Mar 12 21:12:29 2026 +0000
Clarify test names
diff --git a/test/docx/body-reader.tests.js b/test/docx/body-reader.tests.js
index 26c57e2..9559809 100644
--- a/test/docx/body-reader.tests.js
+++ b/test/docx/body-reader.tests.js
@@ -332,7 +332,7 @@ test("complex fields", (function() {
assert.deepEqual(instrText, []);
},
- "runs in a complex field for hyperlink without switch with quoted target are read as external hyperlinks": function() {
+ "runs in a complex field for hyperlink without switch with quoted location are read as external hyperlinks": function() {
var hyperlinkRunXml = runOfText("this is a hyperlink");
var paragraphXml = new XmlElement("w:p", {}, [
beginXml,
@@ -358,7 +358,7 @@ test("complex fields", (function() {
));
},
- "runs in a complex field for hyperlink without switch with unquoted target are read as external hyperlinks": function() {
+ "runs in a complex field for hyperlink without switch with unquoted location are read as external hyperlinks": function() {
var hyperlinkRunXml = runOfText("this is a hyperlink");
var paragraphXml = new XmlElement("w:p", {}, [
beginXml,
@@ -384,7 +384,7 @@ test("complex fields", (function() {
));
},
- "runs in a complex field for hyperlink with l switch with quoted target are read as internal hyperlinks": function() {
+ "runs in a complex field for hyperlink with l switch with quoted location are read as internal hyperlinks": function() {
var hyperlinkRunXml = runOfText("this is a hyperlink");
var paragraphXml = new XmlElement("w:p", {}, [
beginXml,
@@ -410,7 +410,7 @@ test("complex fields", (function() {
));
},
- "runs in a complex field for hyperlink with l switch with unquoted target are read as internal hyperlinks": function() {
+ "runs in a complex field for hyperlink with l switch with unquoted location are read as internal hyperlinks": function() {
var hyperlinkRunXml = runOfText("this is a hyperlink");
var paragraphXml = new XmlElement("w:p", {}, [
beginXml,