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

ruby-changes:8249

From: kazu <ko1@a...>
Date: Tue, 14 Oct 2008 12:24:14 +0900 (JST)
Subject: [ruby-changes:8249] Ruby:r19777 (trunk): * test/ruby/test_variable.rb (TestVariable#test_variable): add

kazu	2008-10-14 12:23:57 +0900 (Tue, 14 Oct 2008)

  New Revision: 19777

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

  Log:
    * test/ruby/test_variable.rb (TestVariable#test_variable): add
      a test of [ruby-dev:36698].

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_variable.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 19776)
+++ ChangeLog	(revision 19777)
@@ -1,3 +1,8 @@
+Tue Oct 14 12:22:32 2008  Kazuhiro NISHIYAMA  <zn@m...>
+
+	* test/ruby/test_variable.rb (TestVariable#test_variable): add
+	  a test of [ruby-dev:36698].
+
 Tue Oct 14 11:14:26 2008  Kazuhiro NISHIYAMA  <zn@m...>
 
 	* lib/net/pop.rb: check for invalid APOP timestamp. (CVE-2007-1558)
Index: test/ruby/test_variable.rb
===================================================================
--- test/ruby/test_variable.rb	(revision 19776)
+++ test/ruby/test_variable.rb	(revision 19777)
@@ -40,6 +40,7 @@
     assert_raise(NameError) do
       $$ = 5
     end
+    assert_normal_exit("$*=0; $*", "[ruby-dev:36698]")
 
     foobar = "foobar"
     $_ = foobar

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

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