diff options
author | Florian Frank <flori@ping.de> | 2016-06-07 17:26:00 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2016-06-07 17:26:00 +0200 |
commit | 00ce49d92bfce23a93bb52bc1ab9e9bf040a4493 (patch) | |
tree | 2c44fb1334f76858970af5bbcec7bdb3d2de726f /tests/json_fixtures_test.rb | |
parent | 98aa312dc9aa9b7dd66cf282d6eaf22eb94360fd (diff) | |
parent | 39b6654d6f68b8431ac79e12e852b6448bc4fe79 (diff) | |
download | json-00ce49d92bfce23a93bb52bc1ab9e9bf040a4493.tar.gz |
Merge branch 'trunk' of https://github.com/nobu/json into nobu-trunk
Diffstat (limited to 'tests/json_fixtures_test.rb')
-rw-r--r-- | tests/json_fixtures_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/json_fixtures_test.rb b/tests/json_fixtures_test.rb index 6681b8d..01954fe 100644 --- a/tests/json_fixtures_test.rb +++ b/tests/json_fixtures_test.rb @@ -1,3 +1,4 @@ +#frozen_string_literal: false require 'test_helper' class JSONFixturesTest < Test::Unit::TestCase @@ -22,7 +23,7 @@ class JSONFixturesTest < 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 |