summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_rubyoptions.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-22 17:17:25 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-22 17:17:25 +0000
commit61363151f62defbc99ca1b2bef4243c4eb461561 (patch)
treedaa8fa787205d2a7677b0444382256fdddc2d9be /test/ruby/test_rubyoptions.rb
parent97389ba93cb9bf3633eee63ae17d5c7ba38b3d6d (diff)
downloadruby-61363151f62defbc99ca1b2bef4243c4eb461561.tar.gz
ruby-61363151f62defbc99ca1b2bef4243c4eb461561.tar.xz
ruby-61363151f62defbc99ca1b2bef4243c4eb461561.zip
$: doesn't contains "." now.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
-rw-r--r--test/ruby/test_rubyoptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index 8a1e9a833..909c8f469 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -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\)/)