summaryrefslogtreecommitdiff
path: root/tests/json_encoding_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/json_encoding_test.rb')
-rw-r--r--tests/json_encoding_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/json_encoding_test.rb b/tests/json_encoding_test.rb
index 86335a1..588e9a2 100644
--- a/tests/json_encoding_test.rb
+++ b/tests/json_encoding_test.rb
@@ -38,7 +38,7 @@ class JSONEncodingTest < Test::Unit::TestCase
else
# XXX checking of correct utf8 data is not as strict (yet?) without
# :ascii_only
- assert_raises(JSON::GeneratorError) do
+ assert_raise(JSON::GeneratorError) do
JSON.generate(@utf_16_data, :ascii_only => true)
end
end