aboutsummaryrefslogtreecommitdiffstats
path: root/test/json/test_json_unicode.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-01 17:34:50 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-01 17:34:50 +0000
commitd99ac4f829dd0903f20e02de5dbba0ddc175c1f3 (patch)
tree18f7c54ef29c879c9a3c342bcea594bde36ca2b5 /test/json/test_json_unicode.rb
parent596b68cc6b6333a3939ebca3ae09fecc491e5718 (diff)
downloadruby-d99ac4f829dd0903f20e02de5dbba0ddc175c1f3.tar.gz
Add tests of JSON 1.1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/json/test_json_unicode.rb')
-rwxr-xr-xtest/json/test_json_unicode.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/json/test_json_unicode.rb b/test/json/test_json_unicode.rb
index b8a37c8b8d..1454fe197d 100755
--- a/test/json/test_json_unicode.rb
+++ b/test/json/test_json_unicode.rb
@@ -2,7 +2,11 @@
# -*- coding: utf-8 -*-
require 'test/unit'
-require 'json'
+case ENV['JSON']
+when 'pure' then require 'json/pure'
+when 'ext' then require 'json/ext'
+else require 'json'
+end
class TC_JSONUnicode < Test::Unit::TestCase
include JSON