From 88b21ba0d0989a5c4f142f5971d33b069a7dfb26 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 10 Jun 2014 15:30:53 +0100 Subject: Number footnotes in html conversion --- tests/document-to-html.tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/document-to-html.tests.js b/tests/document-to-html.tests.js index c80a921..f030a72 100644 --- a/tests/document-to-html.tests.js +++ b/tests/document-to-html.tests.js @@ -199,12 +199,12 @@ describe('DocumentConverter', function() { test('footnote reference is converted to superscript intra-page link', function() { var footnoteReference = new documents.FootnoteReference({ - footnoteId: 1, + footnoteId: 4, body: paragraphOfText("Who's there?") }); var converter = new DocumentConverter(); return converter.convertToHtml(footnoteReference).then(function(result) { - assert.equal(result.value, '1'); + assert.equal(result.value, '1'); }); }); -- cgit v1.2.3