diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-30 04:37:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-30 04:37:13 +0000 |
commit | 068f312a7c642a1b6c358c17ef83421756568545 (patch) | |
tree | 11ce5c67053f28051a34523281a8ad2f5b670d6e /test/json/test_json_fixtures.rb | |
parent | a2845a44ffd3c9ddef704dac1ba1fa2766a64555 (diff) |
use assert_raise
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/json/test_json_fixtures.rb')
-rw-r--r-- | test/json/test_json_fixtures.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json/test_json_fixtures.rb b/test/json/test_json_fixtures.rb index 584dffdfdb..c861439573 100644 --- a/test/json/test_json_fixtures.rb +++ b/test/json/test_json_fixtures.rb @@ -26,7 +26,7 @@ class TestJSONFixtures < 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}': #{source.inspect}") do JSON.parse(source) end |