Copyright (c) 2006 Logica
[Source]
# File test/test_helper.rb, line 22 22: def assert_block(msg="") 23: _wrap_assertion do 24: if (! yield) 25: logger.debug("Failure: #{msg}") 26: raise Test::Unit::AssertionFailedError.new(msg.to_s) 27: end 28: end 29: end
[Validate]