aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/document-to-html.tests.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/document-to-html.tests.js b/tests/document-to-html.tests.js
index b6e3254..b9a8476 100644
--- a/tests/document-to-html.tests.js
+++ b/tests/document-to-html.tests.js
@@ -100,7 +100,7 @@ describe('DocumentConverter', function() {
]);
var converter = new DocumentConverter();
return converter.convertToHtml(document).then(function(result) {
- assert.deepEqual(result.messages, [results.warning("Unrecognised paragraph style: 'Heading 1'")]);
+ assert.deepEqual(result.messages, [results.warning("Unrecognised paragraph style: 'Heading 1' (Style ID: Heading1)")]);
});
});
@@ -174,7 +174,7 @@ describe('DocumentConverter', function() {
var run = runOfText("Hello.", {styleId: "Heading1Char", styleName: "Heading 1 Char"});
var converter = new DocumentConverter();
return converter.convertToHtml(run).then(function(result) {
- assert.deepEqual(result.messages, [results.warning("Unrecognised run style: 'Heading 1 Char'")]);
+ assert.deepEqual(result.messages, [results.warning("Unrecognised run style: 'Heading 1 Char' (Style ID: Heading1Char)")]);
});
});