mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
kodev(minor): fix arg test
This commit is contained in:
@@ -198,8 +198,8 @@ function UIManager:schedule(time, action)
|
||||
break
|
||||
end
|
||||
else
|
||||
-- for fairness, it's better to make p+1 is strictly less than p
|
||||
-- might want to revisit here in the future
|
||||
-- for fairness, it's better to make p+1 is strictly less than
|
||||
-- p might want to revisit here in the future
|
||||
break
|
||||
end
|
||||
until e < s
|
||||
|
||||
2
kodev
2
kodev
@@ -4,7 +4,7 @@ CURDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
function assert_ret_zero {
|
||||
if [ $1 -ne 0 ]; then
|
||||
if [ ! -z $2 ]; then
|
||||
if [ ! -z "$2" ]; then
|
||||
echo $2
|
||||
fi
|
||||
exit 1
|
||||
|
||||
@@ -93,6 +93,7 @@ describe("Readersearch module", function()
|
||||
assert.are.equal(13, count)
|
||||
end)
|
||||
end)
|
||||
|
||||
describe("search API for PDF documents", function()
|
||||
local doc, search, paging
|
||||
setup(function()
|
||||
|
||||
Reference in New Issue
Block a user