Skip to content

Commit ecd7ef5

Browse files
committed
Revert "try to fix failure on travis."
This reverts commit 02daa25.
1 parent 02daa25 commit ecd7ef5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/addrinfo.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919

2020
assert('Addrinfo.foreach') do
2121
# assume Addrinfo.getaddrinfo works well
22-
a = Addrinfo.getaddrinfo("localhost.", "domain")
22+
a = Addrinfo.getaddrinfo("localhost", "domain")
2323
b = []
24-
Addrinfo.foreach("localhost.", "domain") { |ai| b << ai }
25-
assert_equal(a.sort, b.sort)
24+
Addrinfo.foreach("localhost", "domain") { |ai| b << ai }
25+
assert_equal(a.size, b.size)
2626
end
2727

2828
assert('Addrinfo.ip') do

0 commit comments

Comments
 (0)