summaryrefslogtreecommitdiff
path: root/tests/json_fixtures_test.rb
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2016-06-07 17:26:00 +0200
committerFlorian Frank <flori@ping.de>2016-06-07 17:26:00 +0200
commit00ce49d92bfce23a93bb52bc1ab9e9bf040a4493 (patch)
tree2c44fb1334f76858970af5bbcec7bdb3d2de726f /tests/json_fixtures_test.rb
parent98aa312dc9aa9b7dd66cf282d6eaf22eb94360fd (diff)
parent39b6654d6f68b8431ac79e12e852b6448bc4fe79 (diff)
downloadjson-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.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