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

ruby-changes:58095

From: Hiroshi <ko1@a...>
Date: Thu, 3 Oct 2019 18:33:41 +0900 (JST)
Subject: [ruby-changes:58095] c14755e9ca (master): [ruby/fileutils] improve the compatibility of minitest

https://git.ruby-lang.org/ruby.git/commit/?id=c14755e9ca

From c14755e9ca8f2cf8fea5b0232d846bd57193ea53 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Thu, 3 Oct 2019 18:32:21 +0900
Subject: [ruby/fileutils] improve the compatibility of minitest

https://github.com/ruby/fileutils/commit/f16f5a0dd6

diff --git a/tool/lib/test/unit/core_assertions.rb b/tool/lib/test/unit/core_assertions.rb
index f3cb32a..1c4a254 100644
--- a/tool/lib/test/unit/core_assertions.rb
+++ b/tool/lib/test/unit/core_assertions.rb
@@ -30,7 +30,8 @@ module Test https://github.com/ruby/ruby/blob/trunk/tool/lib/test/unit/core_assertions.rb#L30
         include MiniTest::Assertions
       else
         module MiniTest
-          class Skip; end
+          class Assertion < Exception; end
+          class Skip < Assertion; end
         end
 
         require 'pp'
-- 
cgit v0.10.2


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

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