From 61363151f62defbc99ca1b2bef4243c4eb461561 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 22 Jun 2009 17:17:25 +0000 Subject: $: doesn't contains "." now. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_rubyoptions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby') 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\)/) -- cgit