From 0c18a3d9826d59c3d02fbd49f84c9d69a706b670 Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 4 Feb 2019 06:12:27 +0000 Subject: [PATCH] add debug code git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/library/socket/socket/udp_server_recv_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/ruby/library/socket/socket/udp_server_recv_spec.rb b/spec/ruby/library/socket/socket/udp_server_recv_spec.rb index f7165dd25d..ea604392f1 100644 --- a/spec/ruby/library/socket/socket/udp_server_recv_spec.rb +++ b/spec/ruby/library/socket/socket/udp_server_recv_spec.rb @@ -26,6 +26,10 @@ describe 'Socket.udp_server_recv' do 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