Skip to content

Commit

Permalink
feat(#753): fix all the code offences
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Oct 14, 2024
1 parent dd5abc0 commit 51101a5
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ void convertsToXmir() throws ImpossibleModificationException {
@RepeatedTest(100)
void generatesRandomNameWithoutFirstDigit() {
MatcherAssert.assertThat(
"We expect that the name of the tuple will be generated randomly and will not start with a digit",
"We expect that the name of the sequence will be generated randomly and will not start with a digit",
new XmlNode(
new Xembler(
new DirectivesValues("", "some-value")
).xmlQuietly()).attribute("name")
.orElseThrow(
() -> new IllegalStateException("Name attribute is absent")
),
).xmlQuietly()
).attribute("name").orElseThrow(
() -> new IllegalStateException("Name attribute is absent")
),
Matchers.matchesRegex("^[^0-9].*")
);
}
Expand Down

0 comments on commit 51101a5

Please sign in to comment.