/usr/lib/ruby/vendor_ruby/minitest/around/unit.rb is in ruby-minitest-around 0.3.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | require 'minitest/test'
require 'minitest/around/version'
Minitest::Test.class_eval do
alias_method :run_without_around, :run
def run(*args)
if defined?(around)
around { run_without_around(*args) }
else
run_without_around(*args)
end
self
end
end
|