diff options
| author | Hiroshi Mimaki <[email protected]> | 2018-05-07 12:23:32 +0900 |
|---|---|---|
| committer | Hiroshi Mimaki <[email protected]> | 2018-05-07 12:23:32 +0900 |
| commit | 0c01afc3c9d3ec95badb6c463288376908bf18d7 (patch) | |
| tree | 2f344dd2bf964cad1234499e52a028c819c1c247 | |
| parent | 1d16646506ff7bc95d501deaee67740b08b218b5 (diff) | |
| download | mruby-0c01afc3c9d3ec95badb6c463288376908bf18d7.tar.gz mruby-0c01afc3c9d3ec95badb6c463288376908bf18d7.zip | |
Fix CI build errors and warnings.
| -rw-r--r-- | mrbgems/mruby-bin-mirb/bintest/mirb.rb | 4 | ||||
| -rw-r--r-- | mrbgems/mruby-bin-mruby/bintest/mruby.rb | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/mrbgems/mruby-bin-mirb/bintest/mirb.rb b/mrbgems/mruby-bin-mirb/bintest/mirb.rb index a1a0651b4..f6f8cd869 100644 --- a/mrbgems/mruby-bin-mirb/bintest/mirb.rb +++ b/mrbgems/mruby-bin-mirb/bintest/mirb.rb @@ -12,8 +12,8 @@ assert('regression for #1563') do end assert('mirb -d option') do - o, s = Open3.capture2('bin/mirb', :stdin_data => "p $DEBUG\n") + o, _ = Open3.capture2('bin/mirb', :stdin_data => "p $DEBUG\n") assert_true o.include?('=> false') - o, s = Open3.capture2('bin/mirb -d', :stdin_data => "p $DEBUG\n") + o, _ = Open3.capture2('bin/mirb -d', :stdin_data => "p $DEBUG\n") assert_true o.include?('=> true') end diff --git a/mrbgems/mruby-bin-mruby/bintest/mruby.rb b/mrbgems/mruby-bin-mruby/bintest/mruby.rb index 3f6f3755d..ca11ce2e7 100644 --- a/mrbgems/mruby-bin-mruby/bintest/mruby.rb +++ b/mrbgems/mruby-bin-mruby/bintest/mruby.rb @@ -60,8 +60,8 @@ RUBY end assert('mruby -d option') do - o = `#{cmd('mruby')} -e #{shellquote('p $DEBUG')}>&1` - assert_equal o, "false\n" - o = `#{cmd('mruby')} -d -e #{shellquote('p $DEBUG')}>&1` - assert_equal o, "true\n" + o = `#{cmd('mruby')} -e #{shellquote('p $DEBUG')}` + assert_equal "false\n", o + o = `#{cmd('mruby')} -d -e #{shellquote('p $DEBUG')}` + assert_equal "true\n", o end |
