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 break
end end
else else
-- for fairness, it's better to make p+1 is strictly less than p -- for fairness, it's better to make p+1 is strictly less than
-- might want to revisit here in the future -- p might want to revisit here in the future
break break
end end
until e < s until e < s

@ -4,7 +4,7 @@ CURDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
function assert_ret_zero { function assert_ret_zero {
if [ $1 -ne 0 ]; then if [ $1 -ne 0 ]; then
if [ ! -z $2 ]; then if [ ! -z "$2" ]; then
echo $2 echo $2
fi fi
exit 1 exit 1

@ -93,6 +93,7 @@ describe("Readersearch module", function()
assert.are.equal(13, count) assert.are.equal(13, count)
end) end)
end) end)
describe("search API for PDF documents", function() describe("search API for PDF documents", function()
local doc, search, paging local doc, search, paging
setup(function() setup(function()

Loading…
Cancel
Save