Skip to content

Commit

Permalink
Update json-test_helper.rb.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg committed Oct 26, 2024
1 parent de2a884 commit d32e857
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions patches_test/json-test_helper.rb.patch
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
diff --git a/test/json/test_helper.rb b/test/json/test_helper.rb
index 4955a02c9d..f0e80fce12 100644
index e8bba16f84..93763fa96f 100644
--- a/test/json/test_helper.rb
+++ b/test/json/test_helper.rb
@@ -1,12 +1,12 @@
case ENV['JSON']
when 'pure'
- $:.unshift File.join(__dir__, '../../lib')
+ # $:.unshift File.join(__dir__, '../../lib')
- $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
+ # $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
require 'json/pure'
when 'ext'
- $:.unshift File.join(__dir__, '../../ext'), File.join(__dir__, '../../lib')
+ # $:.unshift File.join(__dir__, '../../ext'), File.join(__dir__, '../../lib')
- $LOAD_PATH.unshift(File.expand_path('../../../ext', __FILE__), File.expand_path('../../../lib', __FILE__))
+ # $LOAD_PATH.unshift(File.expand_path('../../../ext', __FILE__), File.expand_path('../../../lib', __FILE__))
require 'json/ext'
else
- $:.unshift File.join(__dir__, '../../ext'), File.join(__dir__, '../../lib')
+ # $:.unshift File.join(__dir__, '../../ext'), File.join(__dir__, '../../lib')
- $LOAD_PATH.unshift(File.expand_path('../../../ext', __FILE__), File.expand_path('../../../lib', __FILE__))
+ # $LOAD_PATH.unshift(File.expand_path('../../../ext', __FILE__), File.expand_path('../../../lib', __FILE__))
require 'json'
end

0 comments on commit d32e857

Please sign in to comment.