test_util_queue: finish stress-test by emptying the queue

remotes/origin/0.11
Anton Shestakov 10 years ago
parent aa7cfad76e
commit 0a1f044d21
  1. 2
      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

Loading…
Cancel
Save