Commit c2b869c1 c2b869c1481b22f7aeab47d3fd9cdecc0759cf58 by Nicolas Perriault

fixed Tester.renderFailureDetails() error details printing

1 parent 2f71386c
...@@ -4,6 +4,7 @@ CasperJS Changelog ...@@ -4,6 +4,7 @@ CasperJS Changelog
4 XXXX-XX-XX, v1.0.0 4 XXXX-XX-XX, v1.0.0
5 ------------------ 5 ------------------
6 6
7 - fixed `Tester.renderFailureDetails()` which couldn't print failure details correctly in certain circumstances
7 - fixed `Casper.getHTML()` wasn't retrieving active frame contents when using `Casper.withFrame()` 8 - fixed `Casper.getHTML()` wasn't retrieving active frame contents when using `Casper.withFrame()`
8 - merged PR [#322](https://github.com/n1k0/casperjs/pull/322) - Support number in `Casper.withFrame()` 9 - merged PR [#322](https://github.com/n1k0/casperjs/pull/322) - Support number in `Casper.withFrame()`
9 - fixed [#323](https://github.com/n1k0/casperjs/issues/323) - `thenEvaluate()` should be updated to take the same parameters as `evaluate()`, while maintaining backwards compatibility. 10 - fixed [#323](https://github.com/n1k0/casperjs/issues/323) - `thenEvaluate()` should be updated to take the same parameters as `evaluate()`, while maintaining backwards compatibility.
......
...@@ -983,7 +983,7 @@ Tester.prototype.renderFailureDetails = function renderFailureDetails(failures) ...@@ -983,7 +983,7 @@ Tester.prototype.renderFailureDetails = function renderFailureDetails(failures)
983 message = failure.message; 983 message = failure.message;
984 this.casper.echo(f('In %s:%s', failure.file, line)); 984 this.casper.echo(f('In %s:%s', failure.file, line));
985 this.casper.echo(f(' %s: %s', type, message || failure.standard || "(no message was entered)"), "COMMENT"); 985 this.casper.echo(f(' %s: %s', type, message || failure.standard || "(no message was entered)"), "COMMENT");
986 }); 986 }.bind(this));
987 }; 987 };
988 988
989 /** 989 /**
......