diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-07 12:28:15 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-07 12:28:15 +0000 |
commit | 2c54866fc946ee2c648ac091d09aa7fd2b8ee40d (patch) | |
tree | b446417e251f18e1ed09e6851f810497d52e6cc3 /test | |
parent | 31924921ea314c1f535fa3f4cce2e6b29cd8e325 (diff) | |
download | ruby-2c54866fc946ee2c648ac091d09aa7fd2b8ee40d.tar.gz ruby-2c54866fc946ee2c648ac091d09aa7fd2b8ee40d.tar.xz ruby-2c54866fc946ee2c648ac091d09aa7fd2b8ee40d.zip |
* test/socket/test_addrinfo.rb (test_family_addrinfo): don't use
www.ruby-lang.org.
http://d.hatena.ne.jp/nagachika/20090204/working_for_0f0e
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/socket/test_addrinfo.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/socket/test_addrinfo.rb b/test/socket/test_addrinfo.rb index b861b0c97..56704513b 100644 --- a/test/socket/test_addrinfo.rb +++ b/test/socket/test_addrinfo.rb @@ -314,8 +314,8 @@ class TestSocketAddrinfo < Test::Unit::TestCase end def test_family_addrinfo - ai = Addrinfo.tcp("0.0.0.0", 4649).family_addrinfo("www.ruby-lang.org", 80) - assert_equal(["221.186.184.68", 80], ai.ip_unpack) + ai = Addrinfo.tcp("0.0.0.0", 4649).family_addrinfo("127.0.0.1", 80) + assert_equal(["127.0.0.1", 80], ai.ip_unpack) assert_equal(Socket::SOCK_STREAM, ai.socktype) ai = Addrinfo.unix("/tmp/sock").family_addrinfo("/tmp/sock2") assert_equal("/tmp/sock2", ai.unix_path) |