small medium large xlarge

Back to: All Forums  PragPub
09 May 2010, 20:40
James Mead (3 posts)

There are some significant errors in this article…

The syntax of the first two examples are incorrect :-


should be :-


and :-


should be :-


Also the link to the Mocha API is incorrect :-

should be :-

Regards, James Mead (author of Mocha)

09 May 2010, 23:21
Noel Rappin (49 posts)

James is correct, I inadvertently used the syntax of a different mock package in those examples. I’m sorry about that, it’s rather embarrassing.


You must be logged in to comment