Fix readerbookmark unit test
This commit is contained in:
1 parent
16efbcf223
commit
0058bc8511
1 file changed
+2
-1
@@ -197,7 +197,8 @@ describe("ReaderBookmark module", function()
|
||||
assert.are.same(15, readerui.bookmark:getNextBookmarkedPage(10))
|
||||
end)
|
||||
it("should search/add bookmarks properly #now", function()
|
||||
DEBUG:turnOn()
|
||||
-- clear bookmarks created by previous tests
|
||||
readerui.bookmark.bookmarks = {}
|
||||
local p1 = { x = 0, y = 0, page = 100 }
|
||||
local bm1 = { notes = 'foo', page = 10,
|
||||
pos0 = { x = 0, y = 0, page = 100 }, pos1 = p1, }
|
||||
|
||||
Reference in new issue
Block a user