diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/dbm/test_dbm.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/dbm/test_dbm.rb b/test/dbm/test_dbm.rb index b872623bb0..1b851207da 100644 --- a/test/dbm/test_dbm.rb +++ b/test/dbm/test_dbm.rb @@ -574,6 +574,10 @@ if defined? DBM FileUtils.remove_entry_secure @tmproot if File.directory?(@tmproot) end + def test_version + assert_instance_of(String, DBM::VERSION) + end + def test_reader_open_notexist assert_raise(Errno::ENOENT) { DBM.open("#{@tmproot}/a", 0666, DBM::READER) |