diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-08-20 10:39:38 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-08-20 10:41:20 +0100 |
| commit | bac8ead5243e1165c47e52881da5c69d562dfadf (patch) | |
| tree | 21099ee4a9d4839e0e297f81b18ab2c2280f1be1 | |
| parent | 76adc351b75b2489f3ef009a7e39df3dabadb50d (diff) | |
Rename bom.docx to utf8-bom.docx
| -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 |
