Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Test
/
Unit
/
Assertions
/
//opt/alt/ruby21/share/ri/2.1.0/system/Test/Unit/Assertions/assert_nothing_raised-i.ri
U:RDoc::AnyMethod[iI"assert_nothing_raised:EFI"1Test::Unit::Assertions#assert_nothing_raised;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"BIf any exceptions are given as arguments, the assertion will ;TI"Kfail if one of those exceptions are raised. Otherwise, the test fails ;TI""if any exceptions are raised.;To:RDoc::Markup::BlankLine o; ; [I"1The final argument may be a failure message.;T@o:RDoc::Markup::Verbatim; [I"+assert_nothing_raised RuntimeError do ;TI"J raise Exception #Assertion passes, Exception is not a RuntimeError ;TI" end ;TI" ;TI"assert_nothing_raised do ;TI"( raise Exception #Assertion fails ;TI"end;T:@format0: @fileI" lib/test/unit/assertions.rb;T:0@omit_headings_from_table_of_contents_below0I",assert_nothing_raised( *args, &block ) ;TI"