Skip to content

Commit 85f7ce9

Browse files
committed
Stream.toString() returns a nonreadable message. showS() should be used instead, which returns a String.
1 parent e23bddd commit 85f7ce9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎core/src/main/java/fj/test/CheckResult.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ else if (r.isPropException()) {
286286
public static Show<CheckResult> summaryEx(final Show<Arg<?>> sa) {
287287
return showS(new F<CheckResult, String>() {
288288
public String f(final CheckResult r) {
289-
final String s = summary(sa).show(r).toString();
289+
final String s = summary(sa).showS(r);
290290
if (r.isProven() || r.isPassed() || r.isExhausted())
291291
return s;
292292
else if (r.isFalsified() || r.isPropException() || r.isGenException())

0 commit comments

Comments
 (0)