My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 127: assertIsEmpty is either broken or just plain weird
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  virtix
Closed:  Jul 2008
Cc:  marc.es...@gmail.com, henkem...@gmail.com


 
Project Member Reported by marc.es...@gmail.com, Jul 8, 2008
<cffunction name="testisempty" returntype="void" hint="">
		<cfset assertIsEmpty("hi mom")>	
	</cffunction>


should fail, i think, because what we're saying is "ensure that this value
is empty", i.e. fail if it's not empty.

but instead, the function seems to work the opposite of the other
assertions, in that it's like a "failIfempty".

i think it should be changed
Jul 8, 2008
Project Member #1 marc.es...@gmail.com
this also goes for the rest if the "isEmpty" family
Cc: henkemike
Jul 8, 2008
Project Member #2 marc.es...@gmail.com
all of these are now significantly changed. they pretty much behave the opposite of
what they did.
Status: Fixed

Powered by Google Project Hosting