文件操作 - reportable.rbs
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/gems/3.2.0/gems/rbs-2.8.2/stdlib/minitest/0/minitest/reportable.rbs
编辑文件内容
# <!-- rdoc-file=lib/minitest.rb --> # Shared code for anything that can get passed to a Reporter. See Minitest::Test # & Minitest::Result. # module Minitest::Reportable # <!-- # rdoc-file=lib/minitest.rb # - passed?() # --> # Did this run pass? # # Note: skipped runs are not considered passing, but they don't cause the # process to exit non-zero. # def passed?: () -> untyped # <!-- # rdoc-file=lib/minitest.rb # - location() # --> # The location identifier of this test. Depends on a method existing called # class_name. # def location: () -> ::String def class_name: () -> untyped # <!-- # rdoc-file=lib/minitest.rb # - result_code() # --> # Returns ".", "F", or "E" based on the result of the run. # def result_code: () -> untyped # <!-- # rdoc-file=lib/minitest.rb # - skipped?() # --> # Was this run skipped? # def skipped?: () -> untyped # <!-- # rdoc-file=lib/minitest.rb # - error?() # --> # Did this run error? # def error?: () -> untyped end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件