aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/docx/body-reader.js4
-rw-r--r--test/docx/body-reader.tests.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/docx/body-reader.js b/lib/docx/body-reader.js
index 2c2a741..8b7167f 100644
--- a/lib/docx/body-reader.js
+++ b/lib/docx/body-reader.js
@@ -171,7 +171,7 @@ function BodyReader(options) {
} else if (type === "end") {
if (complexFieldStack.length === 0) {
return emptyResultWithMessages([warning(
- "ignoring complex field end character without corresponding start character"
+ "Ignoring complex field end character without corresponding start character"
)]);
}
@@ -187,7 +187,7 @@ function BodyReader(options) {
} else if (type === "separate") {
if (complexFieldStack.length === 0) {
return emptyResultWithMessages([warning(
- "ignoring complex field separator character without corresponding start character"
+ "Ignoring complex field separator character without corresponding start character"
)]);
}
diff --git a/test/docx/body-reader.tests.js b/test/docx/body-reader.tests.js
index d8b521c..86f70d3 100644
--- a/test/docx/body-reader.tests.js
+++ b/test/docx/body-reader.tests.js
@@ -593,7 +593,7 @@ test("complex fields", (function() {
assertThat(result.value.children, contains(
isEmptyRun
));
- assert.deepEqual(result.messages, [warning("ignoring complex field separator character without corresponding start character")]);
+ assert.deepEqual(result.messages, [warning("Ignoring complex field separator character without corresponding start character")]);
},
"end character without corresponding start character is ignored": function() {
@@ -606,7 +606,7 @@ test("complex fields", (function() {
assertThat(result.value.children, contains(
isEmptyRun
));
- assert.deepEqual(result.messages, [warning("ignoring complex field end character without corresponding start character")]);
+ assert.deepEqual(result.messages, [warning("Ignoring complex field end character without corresponding start character")]);
}
};
})());