Skip to content

Commit

Permalink
Comment a line in a spec because it's dependant on system config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ary Borenszweig committed Feb 1, 2015
1 parent 723a6fb commit 31caf36
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/std/socket_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ describe "TCPSocket" do
server.addr.ip_address.should eq("::")

TCPSocket.open("localhost", 12345) do |client|
client.addr.family.should eq("AF_INET")
# The next line is actually dependant on the system configuration,
# so for now we keep it commented. Once we can force the family
# we can uncomment it.
#
# client.addr.family.should eq("AF_INET")
client.addr.ip_address.should eq("127.0.0.1")

sock = server.accept
Expand Down

0 comments on commit 31caf36

Please sign in to comment.