diff options
| -rw-r--r-- | tests/mammoth.tests.js | 2 | ||||
| -rw-r--r-- | tests/test-data/utf8-bom.docx (renamed from tests/test-data/bom.docx) | bin | 2836 -> 2836 bytes |
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/mammoth.tests.js b/tests/mammoth.tests.js index 9be7006..32bc281 100644 --- a/tests/mammoth.tests.js +++ b/tests/mammoth.tests.js @@ -33,7 +33,7 @@ describe('mammoth', function() { }); test('should read docx xml files with unicode byte order mark', function() { - var docxPath = path.join(__dirname, "test-data/bom.docx"); + var docxPath = path.join(__dirname, "test-data/utf8-bom.docx"); return mammoth.convertToHtml({path: docxPath}).then(function (result) { assert.equal(result.value, "<p>This XML has a byte order mark.</p>"); assert.deepEqual(result.messages, []); diff --git a/tests/test-data/bom.docx b/tests/test-data/utf8-bom.docx Binary files differindex 3881238..3881238 100644 --- a/tests/test-data/bom.docx +++ b/tests/test-data/utf8-bom.docx |
