From 1fb926a39b9b63513a2d226957ee1b11846f18be Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 10 Jun 2014 15:27:47 +0100 Subject: Use footnote IDs instead of numbers --- tests/document-to-html.tests.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/document-to-html.tests.js b/tests/document-to-html.tests.js index 9a40c88..c80a921 100644 --- a/tests/document-to-html.tests.js +++ b/tests/document-to-html.tests.js @@ -199,7 +199,7 @@ describe('DocumentConverter', function() { test('footnote reference is converted to superscript intra-page link', function() { var footnoteReference = new documents.FootnoteReference({ - footnoteNumber: 1, + footnoteId: 1, body: paragraphOfText("Who's there?") }); var converter = new DocumentConverter(); @@ -210,7 +210,7 @@ describe('DocumentConverter', function() { test('footnotes are included after the main body', function() { var footnoteReference = new documents.FootnoteReference({ - footnoteNumber: 1 + footnoteId: 1 }); var document = new documents.Document( [new documents.Paragraph([ @@ -220,7 +220,7 @@ describe('DocumentConverter', function() { { footnotes: [documents.Footnote({ body: [paragraphOfText("Who's there?")], - footnoteNumber: 1 + id: 1 })] } ); -- cgit v1.2.3