Skip to content
This repository has been archived by the owner on Mar 26, 2023. It is now read-only.

Commit

Permalink
Looks for AF_INET or AF_INET6 in Trac664
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyt committed Dec 7, 2014
1 parent ec11f53 commit a6d8acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/Trac664.rb
Expand Up @@ -29,7 +29,7 @@
unless res.length >= 1; raise 'err;'; end # 1 on Solaris, 2 on Linux

elem = res[0]
unless elem[0] == "AF_INET" && elem[1] == 80
unless %w[ AF_INET AF_INET6 ].include?(elem[0]) && elem[1] == 80
raise "error: expected 'AF_INET' and port 80: actual #{elem[0]} #{elem[1]}"
end

Expand Down

0 comments on commit a6d8acc

Please sign in to comment.