1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

use the reference as failure messages

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-03-06 05:59:29 +00:00
parent ec826b3f93
commit fb284ee7f8

View file

@ -212,8 +212,8 @@ class TestResolvDNS < Test::Unit::TestCase
def test_ipv6_create
ref = '[Bug #11910] [ruby-core:72559]'
assert_instance_of Resolv::IPv6, Resolv::IPv6.create('::1')
assert_instance_of Resolv::IPv6, Resolv::IPv6.create('::1:127.0.0.1')
assert_instance_of Resolv::IPv6, Resolv::IPv6.create('::1'), ref
assert_instance_of Resolv::IPv6, Resolv::IPv6.create('::1:127.0.0.1'), ref
end
def test_ipv6_should_be_16