summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-mruby/bintest/mruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'mrbgems/mruby-bin-mruby/bintest/mruby.rb')
-rw-r--r--mrbgems/mruby-bin-mruby/bintest/mruby.rb8
1 files changed, 4 insertions, 4 deletions
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