# File test/unit/assertions.rb, line 38 def assert(boolean, message="") _wrap_assertion do assert_block("assert should not be called with a block.") { !block_given? } assert_block(message) { boolean } end end