Skip to content

Commit

Permalink
Reintroduce c565dfb
Browse files Browse the repository at this point in the history
  • Loading branch information
mame committed Jul 3, 2020
1 parent 59ded36 commit e6a8590
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/json/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
case ENV['JSON']
when 'pure'
$:.unshift 'lib'
$:.unshift File.join(__dir__, '../lib')
require 'json/pure'
when 'ext'
$:.unshift 'ext', 'lib'
$:.unshift File.join(__dir__, '../ext'), File.join(__dir__, '../lib')
require 'json/ext'
else
$:.unshift 'ext', 'lib'
$:.unshift File.join(__dir__, '../ext'), File.join(__dir__, '../lib')
require 'json'
end

Expand Down

0 comments on commit e6a8590

Please sign in to comment.