aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_iterators_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/util_iterators_spec.lua')
-rw-r--r--spec/util_iterators_spec.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/util_iterators_spec.lua b/spec/util_iterators_spec.lua
index c819b2f0..4cf6f19d 100644
--- a/spec/util_iterators_spec.lua
+++ b/spec/util_iterators_spec.lua
@@ -21,6 +21,7 @@ describe("util.iterators", function ()
if last_key then
assert(k > last_key, "Expected "..k.." > "..last_key)
end
+ assert.equal(orig[k], v);
last_key = k;
end
assert.equal("d", last_key);
@@ -35,6 +36,7 @@ describe("util.iterators", function ()
if last_key then
assert(k < last_key, "Expected "..k.." > "..last_key)
end
+ assert.equal(orig[k], v);
last_key = k;
end
assert.equal("a", last_key);