Small bug fix in TestCaseExtra

View: New views
1 Messages — Rating Filter:   Alert me  

Small bug fix in TestCaseExtra

by Mark Mandel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You're gonna hate me, but I found a small bug in TestCaseExtra -

The '<!--- asserts with default messages --->' section didn't have the
SUPERset... which caused an error -

        <cffunction name="assertFalseBasic" hint="AssertFalse with a default
message" access="public" returntype="void" output="false">
                <cfargument name="condition" required="yes" type="any">
                <cfscript>
                        assertFalse("Condition is not false", arguments.condition);
                </cfscript>
        </cffunction>

should have been

        <cffunction name="assertFalseBasic" hint="AssertFalse with a default
message" access="public" returntype="void" output="false">
                <cfargument name="condition" required="yes" type="any">
                <cfscript>
                        SUPER.assertFalse("Condition is not false", arguments.condition);
                </cfscript>
        </cffunction>

I've attached the file with the changes.

Regards,

Mark

--
E: mark.mandel@...
W: www.compoundtheory.com
ICQ: 3094740


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:51:2396
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/51
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:51
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.51
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54