mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user