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
Родитель ec826b3f93
Коммит fb284ee7f8
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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