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

ruby-changes:26945

From: kosaki <ko1@a...>
Date: Thu, 31 Jan 2013 16:09:44 +0900 (JST)
Subject: [ruby-changes:26945] kosaki:r38997 (trunk): * test/ruby/test_signal.rb (test_trap_puts): Fix typo. "sync"

kosaki	2013-01-31 16:08:23 +0900 (Thu, 31 Jan 2013)

  New Revision: 38997

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

  Log:
    * test/ruby/test_signal.rb (test_trap_puts): Fix typo. "sync"
      should be "STDOUT.sync".

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38996)
+++ ChangeLog	(revision 38997)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Jan 30 12:30:08 2013  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* test/ruby/test_signal.rb (test_trap_puts): Fix typo. "sync"
+	  should be "STDOUT.sync".
+
 Thu Jan 31 15:39:00 2013  Zachary Scott  <zachary@z...>
 
 	* string.c (rb_str_aset_m): Documentation for String#[]= fix
Index: test/ruby/test_signal.rb
===================================================================
--- test/ruby/test_signal.rb	(revision 38996)
+++ test/ruby/test_signal.rb	(revision 38997)
@@ -265,7 +265,7 @@ EOS https://github.com/ruby/ruby/blob/trunk/test/ruby/test_signal.rb#L265
     assert_in_out_err([], <<-INPUT, ["a"*10000], [])
       Signal.trap(:INT) {
           # for enable internal io mutex
-          sync = false
+          STDOUT.sync = false
           # larger than internal io buffer
           print "a"*10000
       }

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

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