summaryrefslogtreecommitdiff
path: root/test/json/test_json_encoding.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/json/test_json_encoding.rb')
-rw-r--r--test/json/test_json_encoding.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/json/test_json_encoding.rb b/test/json/test_json_encoding.rb
index cdeca58092..7af5e63a73 100644
--- a/test/json/test_json_encoding.rb
+++ b/test/json/test_json_encoding.rb
@@ -2,11 +2,7 @@
# -*- coding: utf-8 -*-
require 'test/unit'
-case ENV['JSON']
-when 'pure' then require 'json/pure'
-when 'ext' then require 'json/ext'
-else require 'json'
-end
+require File.join(File.dirname(__FILE__), 'setup_variant')
class TC_JSONEncoding < Test::Unit::TestCase
include JSON