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

ruby-changes:51147

From: kazu <ko1@a...>
Date: Tue, 8 May 2018 09:00:19 +0900 (JST)
Subject: [ruby-changes:51147] kazu:r63354 (trunk): Remove unreachable break

kazu	2018-05-08 09:00:13 +0900 (Tue, 08 May 2018)

  New Revision: 63354

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63354

  Log:
    Remove unreachable break

  Modified files:
    trunk/test/ruby/test_io.rb
Index: test/ruby/test_io.rb
===================================================================
--- test/ruby/test_io.rb	(revision 63353)
+++ test/ruby/test_io.rb	(revision 63354)
@@ -567,7 +567,6 @@ class TestIO < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L567
               w2.nonblock = true
             rescue Errno::EBADF
               skip "nonblocking IO for pipe is not implemented"
-              break
             end
             s = w2.syswrite("a" * 100000)
             t = Thread.new { sleep 0.1; r2.read }

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

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