Skip to content

Commit

Permalink
objectionary#2896: Inlined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
levBagryansky committed Apr 16, 2024
1 parent 512e360 commit 158643e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,9 @@ void detectsErrorsSuccessfully(
.execute(new FakeMaven.Verify()),
"Program with noname attributes should have failed or error, but it didn't"
);
final String message = this.getMessage(out, "Errors identified", temp.toString());
MatcherAssert.assertThat(
"Errors message should have program name and error line number",
message,
this.getMessage(out, "Errors identified", temp.toString()),
Matchers.matchesPattern(this.createRegEx(temp, "Errors identified"))
);
}
Expand Down

0 comments on commit 158643e

Please sign in to comment.