From 00b4a3f9c4aaf5aa038a9530ec515e1718ae1c42 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 24 Sep 2008 17:44:39 +0000 Subject: * test: assert_raises has been deprecated since a long time ago. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/json/test_json_fixtures.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/json/test_json_fixtures.rb') diff --git a/test/json/test_json_fixtures.rb b/test/json/test_json_fixtures.rb index 33573cd300..6cc1bfc6fa 100755 --- a/test/json/test_json_fixtures.rb +++ b/test/json/test_json_fixtures.rb @@ -20,7 +20,7 @@ class TC_JSONFixtures < Test::Unit::TestCase def test_failing for name, source in @failed - assert_raises(JSON::ParserError, JSON::NestingError, + assert_raise(JSON::ParserError, JSON::NestingError, "Did not fail for fixture '#{name}'") do JSON.parse(source) end -- cgit v1.2.3