testing docs: fix notes about storing test failures
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -785,7 +785,7 @@ That will give something like this: | ... | @@ -785,7 +785,7 @@ That will give something like this: |
785 | 785 | ||
786 | .. note:: | 786 | .. note:: |
787 | 787 | ||
788 | In CasperJS 1.1, you can store test successes by recording them listening to the tester ``pass`` event:: | 788 | In CasperJS 1.1, you can store test failures by recording them listening to the tester ``fail`` event:: |
789 | 789 | ||
790 | var failures = []; | 790 | var failures = []; |
791 | 791 | ... | ... |
-
Please register or sign in to post a comment