ruby-changes:54778
From: ko1 <ko1@a...>
Date: Mon, 4 Feb 2019 15:12:32 +0900 (JST)
Subject: [ruby-changes:54778] ko1:r66997 (trunk): add debug code
ko1 2019-02-04 15:12:27 +0900 (Mon, 04 Feb 2019) New Revision: 66997 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66997 Log: add debug code Modified files: trunk/spec/ruby/library/socket/socket/udp_server_recv_spec.rb Index: spec/ruby/library/socket/socket/udp_server_recv_spec.rb =================================================================== --- spec/ruby/library/socket/socket/udp_server_recv_spec.rb (revision 66996) +++ spec/ruby/library/socket/socket/udp_server_recv_spec.rb (revision 66997) @@ -26,6 +26,10 @@ describe 'Socket.udp_server_recv' do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/socket/socket/udp_server_recv_spec.rb#L26 IO.select([@server]) end + # TODO: remove it after debugging + # https://gist.github.com/ko1/0efd60ce78724d1c3bf313fc4b712c59#file-brlog-trunk-test-spec-20190204-141218-L402 + msg = :unset + Socket.udp_server_recv([@server]) do |message, source| msg = message src = source -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/