mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Fix unit tests after crengine update (#3993)
This commit is contained in:
@@ -68,7 +68,7 @@ describe("Readertoc module", function()
|
||||
end)
|
||||
it("should get page left of chapter", function()
|
||||
assert.truthy(toc:getChapterPagesLeft(10, 0) > 10)
|
||||
assert.truthy(toc:getChapterPagesLeft(102, 0) > 10)
|
||||
assert.truthy(toc:getChapterPagesLeft(100, 0) > 10)
|
||||
assert.are.same(nil, toc:getChapterPagesLeft(200, 0))
|
||||
end)
|
||||
it("should get page done of chapter", function()
|
||||
|
||||
Reference in New Issue
Block a user