From cd985580621dabf1bdb1965f788077cc4cc9360d Mon Sep 17 00:00:00 2001 From: vladhanzha Date: Fri, 12 Apr 2019 12:12:16 +0300 Subject: [PATCH] (#1037) Update reasons in tests --- src/test/java/org/cactoos/iterable/IterableEnvelopeTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/cactoos/iterable/IterableEnvelopeTest.java b/src/test/java/org/cactoos/iterable/IterableEnvelopeTest.java index 043d39f097..5952f7bb97 100644 --- a/src/test/java/org/cactoos/iterable/IterableEnvelopeTest.java +++ b/src/test/java/org/cactoos/iterable/IterableEnvelopeTest.java @@ -108,7 +108,7 @@ public void differentHashCode() { final IterableOf first = new IterableOf<>(1, 2); final IterableOf second = new IterableOf<>(2, 1); new Assertion<>( - "hashCode is equal for Iterables with different content", + "Must have different hashCode for Iterables with different content", first::hashCode, new IsNot<>(new IsEqual<>(second.hashCode())) ).affirm(); @@ -118,7 +118,7 @@ public void differentHashCode() { public void equalHashCode() { final IterableOf iterable = new IterableOf<>(1, 2); new Assertion<>( - "hashCode is different for Iterables with equal content", + "Must have equal hashCode for Iterables with equal content", iterable::hashCode, new IsEqual<>(new IterableOf<>(1, 2).hashCode()) ).affirm();