Skip to content

Commit

Permalink
#1602 - messages in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Jul 10, 2023
1 parent 1113880 commit f35effb
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,18 @@ void discoversWithVersions(@TempDir final Path tmp) throws IOException {
final String sprintf = "org.eolang.txt.sprintf|0.28.5";
final String stdout = "org.eolang.io.stdout|0.29.1";
MatcherAssert.assertThat(
String.format("External tojos have to contain %s object, but they don't", sprintf),
String.format(
"External tojos have to contain %s object after discovering, but they don't",
sprintf
),
maven.externalTojos().contains(sprintf),
Matchers.is(true)
);
MatcherAssert.assertThat(
String.format("External tojos should not contain %s object, but they did", stdout),
String.format(
"External tojos should not contain %s object after discovering, but they did",
stdout
),
maven.externalTojos().contains(stdout),
Matchers.is(false)
);
Expand Down

0 comments on commit f35effb

Please sign in to comment.