aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_util_queue.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_util_queue.lua b/tests/test_util_queue.lua
index afa15e59..e215ba33 100644
--- a/tests/test_util_queue.lua
+++ b/tests/test_util_queue.lua
@@ -46,6 +46,8 @@ function new(new)
assert_equal(q:pop(), i);
assert_is(q:push(i+1));
end
+ assert_equal(q:pop(), 1001);
+ assert_equal(q:count(), 0);
end
do