Skip to content

Commit 7e0e90a

Browse files
committed
fix test that wasn't doing anything
1 parent f91905c commit 7e0e90a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_result_set.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_each_hash
2626
rs.close
2727

2828
rs = @db.prepare("select * from foo").execute
29-
rs.each_hash.to_a do |hash|
29+
rs.each_hash.to_a.each do |hash| # each_hash without block, to_a confirms enum
3030
assert_equal list[hash["a"] - 1], hash["b"]
3131
end
3232
rs.close

0 commit comments

Comments
 (0)