kodev(minor): fix arg test

pull/1988/head
Qingping Hou 8 years ago
parent 0166ff8add
commit eb71d29716

@ -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

@ -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()

Loading…
Cancel
Save