We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1da4be8 + 2c65c7e commit 937072aCopy full SHA for 937072a
spec/std/socket_spec.cr
@@ -89,7 +89,7 @@ describe "TCPSocket" do
89
end
90
91
it "fails when host doesn't exist" do
92
- expect_raises(SocketError, /^getaddrinfo: .+ not known$/) do
+ expect_raises(SocketError, /^getaddrinfo: (.+ not known|no address .+)$/i) do
93
TCPSocket.new("localhostttttt", 12345)
94
95
0 commit comments