Skip to content

Commit

Permalink
Add patches_test/json-test_helper.rb.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg committed Oct 16, 2024
1 parent 61db63b commit 1d3f447
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions patches_test/json-test_helper.rb.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
diff --git a/test/json/test_helper.rb b/test/json/test_helper.rb
index 4955a02c9d..f0e80fce12 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')
require 'json/pure'
when 'ext'
- $:.unshift File.join(__dir__, '../../ext'), File.join(__dir__, '../../lib')
+ # $:.unshift File.join(__dir__, '../../ext'), File.join(__dir__, '../../lib')
require 'json/ext'
else
- $:.unshift File.join(__dir__, '../../ext'), File.join(__dir__, '../../lib')
+ # $:.unshift File.join(__dir__, '../../ext'), File.join(__dir__, '../../lib')
require 'json'
end

0 comments on commit 1d3f447

Please sign in to comment.