Skip to content

Commit

Permalink
(yegor256#1396) Add messages
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoss committed Jul 15, 2020
1 parent cf5aa22 commit 31e7472
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/java/org/cactoos/func/SolidFuncTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void cachesFuncResults() throws Exception {
input -> new SecureRandom().nextInt()
);
new Assertion<>(
"",
"Must cache results",
func.apply(true) + func.apply(true),
Matchers.equalTo(func.apply(true) + func.apply(true))
).affirm();
Expand All @@ -54,10 +54,10 @@ public void cachesFuncResults() throws Exception {
@Test
public void worksInThreads() {
new Assertion<>(
"Can't work well in multiple threads",
"Must work well in multiple threads",
func -> {
new Assertion<>(
"",
"Result must be cached",
func.apply(true),
Matchers.equalTo(func.apply(true))
).affirm();
Expand Down

0 comments on commit 31e7472

Please sign in to comment.