Skip to content

Commit b2d6544

Browse files
committed
also test each_hash.next raises when closed
1 parent 7e0e90a commit b2d6544

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_integration_resultset.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ def test_close
147147
assert_raise(SQLite3::Exception) { result.reset }
148148
assert_raise(SQLite3::Exception) { result.next }
149149
assert_raise(SQLite3::Exception) { result.each.next }
150+
assert_raise(SQLite3::Exception) { result.each_hash.next }
150151
assert_raise(SQLite3::Exception) { result.close }
151152
assert_raise(SQLite3::Exception) { result.types }
152153
assert_raise(SQLite3::Exception) { result.columns }

0 commit comments

Comments
 (0)