diff --git a/src/main/java/org/llorllale/cactoos/matchers/ScalarHasValue.java b/src/main/java/org/llorllale/cactoos/matchers/ScalarHasValue.java index e8d4dce3..b6e978e9 100644 --- a/src/main/java/org/llorllale/cactoos/matchers/ScalarHasValue.java +++ b/src/main/java/org/llorllale/cactoos/matchers/ScalarHasValue.java @@ -55,7 +55,7 @@ public ScalarHasValue(final Matcher mtr) { // @checkstyle IndentationCheck (3 line) scalar -> mtr.matches(scalar.value()), desc -> desc.appendText("Scalar with ").appendDescriptionOf(mtr), - (scalar, desc) -> desc.appendValue(scalar.value()) + (scalar, desc) -> mtr.describeMismatch(scalar.value(), desc) ); } }