Permalink
Browse files

add a test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent d7bf156 commit 05a2cd709f4b223c1e3c32d7699b31d7dab20591 @akr akr committed Feb 19, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/dbm/test_dbm.rb
View
@@ -574,6 +574,10 @@ def teardown
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)

0 comments on commit 05a2cd7

Please sign in to comment.