From 52c4d01e4a0e35738e8c1db35a5a4a7ab981803d Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 25 Jan 2015 17:17:34 +0000 Subject: Use prefix to generate IDs --- tests/docx/document-xml-reader.tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/docx/document-xml-reader.tests.js') diff --git a/tests/docx/document-xml-reader.tests.js b/tests/docx/document-xml-reader.tests.js index 86c0fcb..3350917 100644 --- a/tests/docx/document-xml-reader.tests.js +++ b/tests/docx/document-xml-reader.tests.js @@ -362,7 +362,7 @@ describe("convertXmlToDocument: ", function() { var document = convertXmlToDocumentValue({root: documentXml}, {footnotes: footnotes}); var footnote = document.notes.resolve({noteType: "footnote", noteId: "4"}); - assert.deepEqual(footnote.id, "4"); + assert.deepEqual(footnote.noteId, "4"); assert.deepEqual(footnote.body[0].type, "paragraph"); }); }); -- cgit v1.2.3