[前][次][番号順一覧][スレッド一覧]

ruby-changes:50535

From: nobu <ko1@a...>
Date: Tue, 6 Mar 2018 14:59:34 +0900 (JST)
Subject: [ruby-changes:50535] nobu:r62674 (trunk): use the reference as failure messages

nobu	2018-03-06 14:59:29 +0900 (Tue, 06 Mar 2018)

  New Revision: 62674

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62674

  Log:
    use the reference as failure messages

  Modified files:
    trunk/test/resolv/test_dns.rb
Index: test/resolv/test_dns.rb
===================================================================
--- test/resolv/test_dns.rb	(revision 62673)
+++ test/resolv/test_dns.rb	(revision 62674)
@@ -212,8 +212,8 @@ class TestResolvDNS < Test::Unit::TestCa https://github.com/ruby/ruby/blob/trunk/test/resolv/test_dns.rb#L212
 
   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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]