Skip to content

Commit a1df2d0

Browse files
byroothsbt
authored andcommitted
[ruby/json] Setup ruby_memcheck
Hoping it might find the leak reported in ruby/json#460 ruby/json@08635312e5
1 parent 543d69c commit a1df2d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: test/json/test_helper.rb

+3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
case ENV['JSON']
22
when 'pure'
33
$LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
4+
$stderr.puts("Testing JSON::Pure")
45
require 'json/pure'
56
when 'ext'
7+
$stderr.puts("Testing JSON::Ext")
68
$LOAD_PATH.unshift(File.expand_path('../../../ext', __FILE__), File.expand_path('../../../lib', __FILE__))
79
require 'json/ext'
810
else
911
$LOAD_PATH.unshift(File.expand_path('../../../ext', __FILE__), File.expand_path('../../../lib', __FILE__))
12+
$stderr.puts("Testing JSON")
1013
require 'json'
1114
end
1215

0 commit comments

Comments
 (0)