1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/dbm/test_dbm.rb (test_dbmfile_suffix): DBM::VERSION should

be Berkeley DB if foo.db is created by DBM.open.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2012-02-18 04:54:09 +00:00
parent 48a97f2c94
commit 4c1ea85dd8
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Sat Feb 18 13:53:01 2012 Tanaka Akira <akr@fsij.org>
* test/dbm/test_dbm.rb (test_dbmfile_suffix): DBM::VERSION should
be Berkeley DB if foo.db is created by DBM.open.
Sat Feb 18 13:40:37 2012 Tanaka Akira <akr@fsij.org>
* test/dbm/test_dbm.rb (test_dbmfile_suffix): test dbm file suffix.

View file

@ -109,6 +109,9 @@ if defined? DBM
when /\bQDBM\b/
assert_equal(["#{prefix}.dir", "#{prefix}.pag"], files)
end
if files == ["#{prefix}.db"]
assert_match(/\bBerkeley DB\b/, DBM::VERSION)
end
end
def test_s_new_has_no_block