Skip to content

Commit a490b54

Browse files
committed
test: add test for iteration with pairs via empty space
Issue automagically resolved after #33. Closes #82
1 parent 818e24c commit a490b54

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/integration/pairs_test.lua

+12
Original file line numberDiff line numberDiff line change
@@ -328,3 +328,15 @@ add('test_negative_first', function(g)
328328
]])
329329
end)
330330
end)
331+
332+
add('test_empty_space', function(g)
333+
local count = g.cluster.main_server.net_box:eval([[
334+
local crud = require('crud')
335+
local count = 0
336+
for _, object in crud.pairs('customers') do
337+
count = count + 1
338+
end
339+
return count
340+
]])
341+
t.assert_equals(count, 0)
342+
end)

0 commit comments

Comments
 (0)