diff options
Diffstat (limited to 'community/crystal/fix-spec-socket-tcp_socket.cr.patch')
-rw-r--r-- | community/crystal/fix-spec-socket-tcp_socket.cr.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community/crystal/fix-spec-socket-tcp_socket.cr.patch b/community/crystal/fix-spec-socket-tcp_socket.cr.patch new file mode 100644 index 0000000000..21c0645323 --- /dev/null +++ b/community/crystal/fix-spec-socket-tcp_socket.cr.patch @@ -0,0 +1,11 @@ +--- a/spec/std/socket/tcp_socket_spec.cr ++++ b/spec/std/socket/tcp_socket_spec.cr +@@ -32,7 +32,7 @@ + end + end + +- it "raises when port is negative" do ++ pending "raises when port is negative" do + expect_raises(Socket::Error, linux? ? "getaddrinfo: Servname not supported for ai_socktype" : "No address found for #{address}:-12 over TCP") do + TCPSocket.new(address, -12) + end |