summaryrefslogtreecommitdiff
path: root/test/dbm
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-18 08:11:12 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-18 08:11:12 +0000
commit5141d3ea7986da8d0dcf51e6b34c99308210bf14 (patch)
tree32145b9377906de9c0fbee260abb9829215cff09 /test/dbm
parentfc20fdcbc8c76961151a26c6fdba97821826dc40 (diff)
* hash.c (rb_f_getenv): prohibit for $SAFE=4. [ruby-dev:24908]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dbm')
-rw-r--r--test/dbm/test_dbm.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dbm/test_dbm.rb b/test/dbm/test_dbm.rb
index 2de73d1..fb63297 100644
--- a/test/dbm/test_dbm.rb
+++ b/test/dbm/test_dbm.rb
@@ -47,7 +47,7 @@ if defined? DBM
def test_freeze
DBM.open("#{TMPROOT}/a") {|d|
d.freeze
- assert_raises(TypeError) { d["k"] = "v" }
+ assert_raises(RuntimeError) { d["k"] = "v" }
}
end
end