aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test_util_queue.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_util_queue.lua b/tests/test_util_queue.lua
index 57fd28e7..afa15e59 100644
--- a/tests/test_util_queue.lua
+++ b/tests/test_util_queue.lua
@@ -42,9 +42,9 @@ function new(new)
end
assert_equal(q:pop(), 1002);
assert_is(q:push(1));
- for i = 1, 1000000 do
- q:pop();
- q:push(i+1);
+ for i = 1, 1000 do
+ assert_equal(q:pop(), i);
+ assert_is(q:push(i+1));
end
end