Module: Minitest::ErrorOnWarning
Do not use. This module is for internal use only.
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/minitest/error_on_warning.rb |
Instance Method Summary
Instance Method Details
#warn(message, category: nil)
# File 'lib/minitest/error_on_warning.rb', line 4
def warn , category: nil = "[#{category}] #{}" if category raise UnexpectedWarning, end