fix unit test of occurrences search

pull/1963/head
chrox 8 years ago
parent 25b70007d4
commit 7071ae2b6e

@ -87,7 +87,7 @@ describe("Readersearch module", function()
for _, word in ipairs(words) do
--dbg("found word", word.start)
end
doc:gotoXPointer(words[1].start)
doc:gotoXPointer(words[#words].start)
words = search:searchNext("Verona", 0)
end
assert.are.equal(13, count)

Loading…
Cancel
Save