From 51101a556d7fb4d2cc4a7e17ff4c657cf5c442aa Mon Sep 17 00:00:00 2001 From: volodya-lombrozo Date: Mon, 14 Oct 2024 11:12:42 +0300 Subject: [PATCH] feat(#753): fix all the code offences --- .../directives/DirectivesValuesTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/java/org/eolang/jeo/representation/directives/DirectivesValuesTest.java b/src/test/java/org/eolang/jeo/representation/directives/DirectivesValuesTest.java index 7d66137e5..bbd3f8a74 100644 --- a/src/test/java/org/eolang/jeo/representation/directives/DirectivesValuesTest.java +++ b/src/test/java/org/eolang/jeo/representation/directives/DirectivesValuesTest.java @@ -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].*") ); }