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

Fix copy and paste miss of r33960.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-12-06 06:41:38 +00:00
parent 20c91cafba
commit 0209f8d476

View file

@ -105,7 +105,7 @@ if defined? DBM
end
def test_s_open_no_create
skip "gdbm_open(GDBM_WRITER) is broken on libgdbm 1.8.0" if /1\.8\.0/ =~ GDBM::VERSION
skip "dbm_open() is broken on libgdbm 1.8.0" if /1\.8\.0/ =~ DBM::VERSION
assert_nil(dbm = DBM.open("#{@tmpdir}/#{@prefix}", nil))
ensure
dbm.close if dbm
@ -529,7 +529,7 @@ if defined? DBM
end
def test_writer_open_notexist
skip "gdbm_open(GDBM_WRITER) is broken on libgdbm 1.8.0" if /1\.8\.0/ =~ GDBM::VERSION
skip "dbm_open() is broken on libgdbm 1.8.0" if /1\.8\.0/ =~ DBM::VERSION
assert_raise(Errno::ENOENT) {
DBM.open("#{@tmproot}/a", 0666, DBM::WRITER)
}