diff options
Diffstat (limited to 'test/gdbm/test_gdbm.rb')
-rw-r--r-- | test/gdbm/test_gdbm.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb index 07a1bb3386..d57e9526c3 100644 --- a/test/gdbm/test_gdbm.rb +++ b/test/gdbm/test_gdbm.rb @@ -390,6 +390,10 @@ if defined? GDBM assert_equal(@gdbm, ret) end + def test_each_key_without_block + assert_kind_of Enumerator, @gdbm.each_key + end + def test_keys assert_equal([], @gdbm.keys) |