From ae831861bed60da0acbbaa3144d15a552f9183bf Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 11 Nov 2014 15:28:17 +0000 Subject: * test/ruby/test_object.rb: Specify an exception class for rescue clause. * test/dbm/test_dbm.rb: Ditto. * test/gdbm/test_gdbm.rb: Ditto. * test/sdbm/test_sdbm.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/sdbm/test_sdbm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/sdbm') diff --git a/test/sdbm/test_sdbm.rb b/test/sdbm/test_sdbm.rb index 9068c4cd8e..7a42e78e98 100644 --- a/test/sdbm/test_sdbm.rb +++ b/test/sdbm/test_sdbm.rb @@ -399,7 +399,7 @@ class TestSDBM < Test::Unit::TestCase n+=1 true } - rescue + rescue RuntimeError end assert_equal(51, n) check_size(49, @sdbm) -- cgit v1.2.3