mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
$: doesn't contains "." now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5202b22bfe
commit
cb5eb54da7
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ class TestRubyOptions < Test::Unit::TestCase
|
|||
ENV['RUBYOPT'] = ' - -'
|
||||
assert_in_out_err([], "", [], [])
|
||||
|
||||
assert_in_out_err(['-e', 'p $:.include?(".")'], "", ["true"], [])
|
||||
assert_in_out_err(['-e', 'p $:.include?(".")'], "", ["false"], [])
|
||||
|
||||
ENV['RUBYOPT'] = '-e "p 1"'
|
||||
assert_in_out_err([], "", [], /invalid switch in RUBYOPT: -e \(RuntimeError\)/)
|
||||
|
|
Loading…
Add table
Reference in a new issue