Skip to content

Commit 3218ee7

Browse files
committed
Fix tests to adapt to changes in parsers
1 parent 0552007 commit 3218ee7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parsing.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ describe('Book parsing', function () {
7171

7272
assert.equal(_.size(NAVIGATION), 2);
7373
assert(NAVIGATION["intro.md"])
74-
assert.equal(NAVIGATION["intro.md"].title, "Introduction");
74+
assert.equal(NAVIGATION["intro.md"].title, "");
7575
assert.equal(NAVIGATION["intro.md"].prev, null);
7676
assert.equal(NAVIGATION["intro.md"].next.title, "Article 1");
7777

7878
assert.equal(NAVIGATION["sub/test1.md"].title, "Article 1");
79-
assert.equal(NAVIGATION["sub/test1.md"].prev.title, "Introduction");
79+
assert.equal(NAVIGATION["sub/test1.md"].prev.title, "");
8080
assert.equal(NAVIGATION["sub/test1.md"].next, null);
8181
});
8282
});

0 commit comments

Comments
 (0)