summaryrefslogtreecommitdiff
path: root/tests/json_fixtures_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/json_fixtures_test.rb')
-rw-r--r--tests/json_fixtures_test.rb3
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