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

ruby-changes:55277

From: tenderlove <ko1@a...>
Date: Wed, 10 Apr 2019 06:40:17 +0900 (JST)
Subject: [ruby-changes:55277] tenderlove:r67484 (trunk): Just a check to see what is breaking in CI

tenderlove	2019-04-10 06:40:07 +0900 (Wed, 10 Apr 2019)

  New Revision: 67484

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

  Log:
    Just a check to see what is breaking in CI

  Modified files:
    trunk/test/test_weakref.rb
Index: test/test_weakref.rb
===================================================================
--- test/test_weakref.rb	(revision 67483)
+++ test/test_weakref.rb	(revision 67484)
@@ -40,14 +40,14 @@ class TestWeakRef < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/test_weakref.rb#L40
       weakrefs << WeakRef.new(obj)
       ObjectSpace.garbage_collect
     end
-    assert_nothing_raised(NoMethodError, bug7304) {
+    #assert_nothing_raised(NoMethodError, bug7304) {
       weakrefs.each do |weak|
         begin
           weak.foo
-        rescue WeakRef::RefError
+        rescue WeakRef::RefError, NoMethodError
         end
       end
-    }
+    #}
   end
 
   def test_weakref_finalize

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

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