From a0c2729dcd0b7fb4f6c7535c359d1e4c06e6ae3c Mon Sep 17 00:00:00 2001 From: maxonfjvipon Date: Thu, 7 Dec 2023 17:09:18 +0300 Subject: [PATCH] feat(#2682): messages --- .../src/test/java/org/eolang/maven/UnphiMojoTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eo-maven-plugin/src/test/java/org/eolang/maven/UnphiMojoTest.java b/eo-maven-plugin/src/test/java/org/eolang/maven/UnphiMojoTest.java index df66a71040..3316cb2f96 100644 --- a/eo-maven-plugin/src/test/java/org/eolang/maven/UnphiMojoTest.java +++ b/eo-maven-plugin/src/test/java/org/eolang/maven/UnphiMojoTest.java @@ -112,10 +112,12 @@ void convertsToXmirAndBack(final String pack, @TempDir final Path temp) throws E .result() .get(main); MatcherAssert.assertThat( + String.format("%s should have been rewritten after optimization, but it wasn't", main), result.toFile().lastModified(), Matchers.greaterThan(saved) ); MatcherAssert.assertThat( + "Origin phi should equal to phi got from \"unphied\" xmir, but it isn't", phi, Matchers.equalTo( new TextOf(result).asString()