mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
tests: minor cleanup
This commit is contained in:
committed by
Frans de Jonge
parent
27f7f1d5a9
commit
fdd645af73
@@ -22,7 +22,7 @@ describe("Readerview module", function()
|
|||||||
for i = #UIManager._task_queue, 1, -1 do
|
for i = #UIManager._task_queue, 1, -1 do
|
||||||
local task = UIManager._task_queue[i]
|
local task = UIManager._task_queue[i]
|
||||||
if task.action == readerui.view.emitHintPageEvent then
|
if task.action == readerui.view.emitHintPageEvent then
|
||||||
error("UIManager's task queue should be emtpy.")
|
error("UIManager's task queue should be empty.")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ describe("Readerview module", function()
|
|||||||
for i = #UIManager._task_queue, 1, -1 do
|
for i = #UIManager._task_queue, 1, -1 do
|
||||||
local task = UIManager._task_queue[i]
|
local task = UIManager._task_queue[i]
|
||||||
if task.action == readerui.view.emitHintPageEvent then
|
if task.action == readerui.view.emitHintPageEvent then
|
||||||
error("UIManager's task queue should be emtpy.")
|
error("UIManager's task queue should be empty.")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user