Module: Minitest::ErrorOnWarning
- Included in:
- Minitest
- Defined in:
- lib/minitest/error_on_warning.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#warn(message, category: nil) ⇒ Object
4 5 6 7 |
# File 'lib/minitest/error_on_warning.rb', line 4 def warn , category: nil = "[#{category}] #{}" if category raise UnexpectedWarning, end |