Method: MiniTest::Assertions#assert_silent
- Defined in:
- lib/minitest/unit.rb
permalink #assert_silent ⇒ Object
Fails if the block outputs anything to stderr or stdout.
See also: #assert_output
288 289 290 291 292 |
# File 'lib/minitest/unit.rb', line 288 def assert_silent assert_output "", "" do yield end end |