From 2140507b59adb87353835f5a285da81edfdf8fa2 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 23 Jan 2018 21:29:18 +0000 Subject: Adjust error message --- test/mammoth.tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/mammoth.tests.js b/test/mammoth.tests.js index 2dbdbe4..3ce96d4 100644 --- a/test/mammoth.tests.js +++ b/test/mammoth.tests.js @@ -424,6 +424,6 @@ test('should throw error if file is not a valid docx document', function() { return mammoth.convertToHtml({path: docxPath}).then(function(result) { assert.ok(false, "Expected error"); }, function(error) { - assert.equal(error.message, "Could not find word/document.xml in ZIP file. Are you sure this is a valid .docx file?"); + assert.equal(error.message, "Could not find main document part. Are you sure this is a valid .docx file?"); }); }); -- cgit v1.2.3