Browse files

Updated failures property to a method in README API docs

If you are author of a nodeunit test reporter, that is not in this repository, then
you may need to update your code when you upgrade!
  • Loading branch information...
1 parent f15f8b4 commit d2711eec52648e794aa6b898434821f0beac353e @caolan caolan committed Nov 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1
@@ -380,7 +380,7 @@ The __assertion__ object:
The __assertionList__ object:
* An array-like object with the following new attributes:
- * __failures__ - the number of assertions which failed
+ * __failures()__ - the number of assertions which failed
* __duration__ - the time taken for the test to complete in msecs
For a reference implementation of a test reporter, see lib/reporters/default.js in

0 comments on commit d2711ee

Please sign in to comment.