From cb5eb54da7986c2370c5d97c746e1247b54956e7 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 22 Jun 2009 17:17:25 +0000 Subject: [PATCH] $: doesn't contains "." now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_rubyoptions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 8a1e9a8335..909c8f469e 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\)/)