aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-06-10 15:27:47 +0100
committerMichael Williamson <mike@zwobble.org>2014-06-10 15:27:47 +0100
commit1fb926a39b9b63513a2d226957ee1b11846f18be (patch)
tree25dcf6161ca3061488efe05bdd8482911fa091c1 /tests
parent03293a8e2265dd84eb05a31b8100cf1a310c51bb (diff)
Use footnote IDs instead of numbers
Diffstat (limited to 'tests')
-rw-r--r--tests/document-to-html.tests.js6
1 files changed, 3 insertions, 3 deletions
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
})]
}
);