Merge pull request #4194 from shuujii/mirb-drop-dependency-on-mruby-print

mirb: drop dependency on mruby-print in a test
This commit is contained in:
Yukihiro "Matz" Matsumoto
2018-12-22 22:47:27 +09:00
committed by GitHub
+2 -2
View File
@@ -12,9 +12,9 @@ assert('regression for #1563') do
end
assert('mirb -d option') do
o, _ = Open3.capture2('bin/mirb', :stdin_data => "p $DEBUG\n")
o, _ = Open3.capture2('bin/mirb', :stdin_data => "$DEBUG\n")
assert_true o.include?('=> false')
o, _ = Open3.capture2('bin/mirb -d', :stdin_data => "p $DEBUG\n")
o, _ = Open3.capture2('bin/mirb -d', :stdin_data => "$DEBUG\n")
assert_true o.include?('=> true')
end