summaryrefslogtreecommitdiff
path: root/test/json/test_json_unicode.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/json/test_json_unicode.rb')
-rwxr-xr-xtest/json/test_json_unicode.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json/test_json_unicode.rb b/test/json/test_json_unicode.rb
index 862c6ea..b8a37c8 100755
--- a/test/json/test_json_unicode.rb
+++ b/test/json/test_json_unicode.rb
@@ -50,7 +50,7 @@ class TC_JSONUnicode < Test::Unit::TestCase
assert_equal json, JSON.generate(["" << i])
end
end
- assert_raises(JSON::GeneratorError) do
+ assert_raise(JSON::GeneratorError) do
JSON.generate(["\x80"])
end
assert_equal "\302\200", JSON.parse('["\u0080"]').first