diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-20 08:14:57 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-20 08:14:57 +0000 |
| commit | 2e7e88e49aec8d6800eb92ede66753b55a4fe8ee (patch) | |
| tree | 870aed95cd3725ddc1bbfd2accf94fac81dfa08d /test | |
| parent | b021a435f896aa7a67d64b2bace9b7897214f86e (diff) | |
| download | ruby-2e7e88e49aec8d6800eb92ede66753b55a4fe8ee.tar.gz ruby-2e7e88e49aec8d6800eb92ede66753b55a4fe8ee.tar.xz ruby-2e7e88e49aec8d6800eb92ede66753b55a4fe8ee.zip | |
* test/dbm/test_dbm.rb (TestDBM::test_s_open_error): remove
test_s_open_error test to detect duplicate open.
[ruby-dev:27202]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
| -rw-r--r-- | test/dbm/test_dbm.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/dbm/test_dbm.rb b/test/dbm/test_dbm.rb index d566015df..d4d488f57 100644 --- a/test/dbm/test_dbm.rb +++ b/test/dbm/test_dbm.rb @@ -86,14 +86,6 @@ if defined? DBM assert_equal(DBM.open("tmptest_dbm") { :foo }, :foo) end - def test_s_open_error - assert_instance_of(DBM, dbm = DBM.open("tmptest_dbm", 0)) - assert_raise(Errno::EACCES, "NEVER MIND IF YOU USE Berkeley DB3") { - DBM.open("tmptest_dbm", 0) - } - dbm.close - end - def test_close assert_instance_of(DBM, dbm = DBM.open("tmptest_dbm")) assert_nil(dbm.close) |
