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

                        def assert_nothing_raised(*args)

                                _wrap_assertion {

                                        message = ""

                                        if (!args[-1].instance_of?(Class))

                                                message = args.pop

                                        end

                                        begin

                                                yield

                                        rescue Exception => thrown_exception

                                                if (args.empty? || args.include?(thrown_exception.class))

                                                        full_message = build_message(message, thrown_exception) {

                                                                | arg1 |

                                                                "Exception raised:\n" +

                                                                arg1

                                                        }

                                                        flunk(full_message)

                                                else

                                                        raise thrown_exception.class, thrown_exception.message, thrown_exception.backtrace

                                                end

                                        end

                                }

                        end