From 85f7ce959e577bcf98938521fd55d76062b4ef94 Mon Sep 17 00:00:00 2001 From: Zheka Kozlov Date: Wed, 20 May 2015 16:51:47 +0600 Subject: [PATCH] Stream.toString() returns a nonreadable message. showS() should be used instead, which returns a String. --- core/src/main/java/fj/test/CheckResult.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/fj/test/CheckResult.java b/core/src/main/java/fj/test/CheckResult.java index b5b90685..fe3ca92a 100644 --- a/core/src/main/java/fj/test/CheckResult.java +++ b/core/src/main/java/fj/test/CheckResult.java @@ -286,7 +286,7 @@ else if (r.isPropException()) { public static Show summaryEx(final Show> sa) { return showS(new F() { public String f(final CheckResult r) { - final String s = summary(sa).show(r).toString(); + final String s = summary(sa).showS(r); if (r.isProven() || r.isPassed() || r.isExhausted()) return s; else if (r.isFalsified() || r.isPropException() || r.isGenException())