summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-06 05:59:29 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-06 05:59:29 +0000
commitfb284ee7f814644b54a676424695fe932e9c3e7e (patch)
treeb03ec8084b2d30cf8bc4b6873a2ef93a0deb3de9
parentec826b3f93b9660825bb229251bfa28c27beea15 (diff)
use the reference as failure messages
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/resolv/test_dns.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/resolv/test_dns.rb b/test/resolv/test_dns.rb
index 1ac3aea..d75a431 100644
--- a/test/resolv/test_dns.rb
+++ b/test/resolv/test_dns.rb
@@ -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