diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-05 11:49:39 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-05 11:49:39 +0000 |
commit | 021790997aa225bf547ffd03a7aaddd84cd0597e (patch) | |
tree | d63e457298a3c27b345fd674c1557e1cb390248c /test/json/test_helper.rb | |
parent | b98f39c2a45bc7eb814885c7eb9e679bff6126a8 (diff) | |
download | ruby-021790997aa225bf547ffd03a7aaddd84cd0597e.tar.gz |
* ext/json/*, test/json/*: Update json-2.0.1.
Changes of 2.0.0: https://github.com/flori/json/blob/f679ebd0c69a94e3e70a897ac9a229f5779c2ee1/CHANGES.md#2015-09-11-200
Changes of 2.0.1: https://github.com/flori/json/blob/f679ebd0c69a94e3e70a897ac9a229f5779c2ee1/CHANGES.md#2016-07-01-201
[Feature #12542][ruby-dev:49706][fix GH-1395]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/json/test_helper.rb')
-rw-r--r-- | test/json/test_helper.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/json/test_helper.rb b/test/json/test_helper.rb new file mode 100644 index 0000000000..69edb627e8 --- /dev/null +++ b/test/json/test_helper.rb @@ -0,0 +1,22 @@ +# frozen_string_literal: false +case ENV['JSON'] +when 'pure' + $:.unshift 'lib' + require 'json/pure' +when 'ext' + $:.unshift 'ext', 'lib' + require 'json/ext' +else + $:.unshift 'ext', 'lib' + require 'json' +end + +require 'test/unit' +begin + require 'byebug' +rescue LoadError +end +if ENV['START_SIMPLECOV'].to_i == 1 + require 'simplecov' + SimpleCov.start +end |