mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-21 01:53:26 +00:00
Fix language parsing test
This commit is contained in:
+2
-2
@@ -43,10 +43,10 @@ describe('Book parsing', function () {
|
||||
assert.equal(books[2].books.length, 2);
|
||||
assert(books[2].isMultilingual());
|
||||
|
||||
assert.equal(books[2].books[0].options.lang, "en");
|
||||
assert.equal(books[2].books[0].options.language, "en");
|
||||
assert.equal(books[2].books[0].options.title, "English Book");
|
||||
|
||||
assert.equal(books[2].books[1].options.lang, "fr");
|
||||
assert.equal(books[2].books[1].options.language, "fr");
|
||||
assert.equal(books[2].books[1].options.title, "French Book");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user