summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-11 20:27:16 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-12 17:24:43 +0900
commitb314885af0dad39cad1d556c574a41eb785d8703 (patch)
tree64615f172e6714316bc5438abd8871b56656a678 /lib
parent32d25660b9935a04f33a7e7635b571260d634caf (diff)
[rubygems/rubygems] Update the link of minitest code with the commit hash.
https://github.com/rubygems/rubygems/commit/e7280f8d30
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4491
Diffstat (limited to 'lib')
-rw-r--r--lib/rubygems/test_case.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb
index f7200690ea..8dde20452e 100644
--- a/lib/rubygems/test_case.rb
+++ b/lib/rubygems/test_case.rb
@@ -136,12 +136,12 @@ class Gem::TestCase < Test::Unit::TestCase
assert File.directory?(path), msg
end
- # https://github.com/seattlerb/minitest/blob/master/lib/minitest/assertions.rb#L188
+ # https://github.com/seattlerb/minitest/blob/21d9e804b63c619f602f3f4ece6c71b48974707a/lib/minitest/assertions.rb#L188
def _synchronize
yield
end
- # https://github.com/seattlerb/minitest/blob/master/lib/minitest/assertions.rb#L546
+ # https://github.com/seattlerb/minitest/blob/21d9e804b63c619f602f3f4ece6c71b48974707a/lib/minitest/assertions.rb#L546
def capture_subprocess_io
_synchronize do
begin
@@ -1547,7 +1547,7 @@ Also, a list:
end if Gem::HAVE_OPENSSL
end
-# https://github.com/seattlerb/minitest/blob/master/lib/minitest/mock.rb#L192
+# https://github.com/seattlerb/minitest/blob/13c48a03d84a2a87855a4de0c959f96800100357/lib/minitest/mock.rb#L192
class Object
def stub(name, val_or_callable, *block_args)
new_name = "__minitest_stub__#{name}"