Re: Assertions

From: Date: Thu, 17 Oct 2013 17:52:31 +0000
Subject: Re: Assertions
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On 17/10/2013 16:51, Nikita Popov wrote:
...
In addition to all that you've said, I should point out that both Java and Python have an assert statement which raises an exception, which happens to be called AssertionError in both languages. A quick search on GitHub shows quite a lot of people catching AssertionErrors in unit tests. -- Andrea Faulds http://ajf.me/

Thread (36 messages)

« previous php.internals (#69647) next »