# File test/unit/assertions.rb, line 327

                        def assert_nothing_thrown(message="", &proc)

                                _wrap_assertion {

                                        assert(block_given?, "Should have passed a block to assert_nothing_thrown")

                                        begin

                                                proc.call

                                        rescue NameError => name_error

                                                if (name_error.message !~ /^uncaught throw `(.+)'$/ )     #`

                                                        raise name_error

                                                end

                                                full_message = build_message(message, $1) {

                                                        | arg |

                                                        "<:#{arg}> was thrown when nothing was expected"

                                                }

                                                flunk(full_message)

                                        end

                                        full_message = build_message(message) { ||

                                                "Expected nothing to be thrown"

                                        }

                                        assert(true, full_message)

                                }

                        end