[前][次][番号順一覧][スレッド一覧]

ruby-changes:12151

From: akr <ko1@a...>
Date: Tue, 23 Jun 2009 02:17:38 +0900 (JST)
Subject: [ruby-changes:12151] Ruby:r23826 (trunk): $: doesn't contains "." now.

akr	2009-06-23 02:17:25 +0900 (Tue, 23 Jun 2009)

  New Revision: 23826

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23826

  Log:
    $: doesn't contains "." now.

  Modified files:
    trunk/test/ruby/test_rubyoptions.rb

Index: test/ruby/test_rubyoptions.rb
===================================================================
--- test/ruby/test_rubyoptions.rb	(revision 23825)
+++ test/ruby/test_rubyoptions.rb	(revision 23826)
@@ -199,7 +199,7 @@
     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\)/)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]