Skip to content

Commit 2744cc5

Browse files
committed
test for LtAlways
1 parent 104acca commit 2744cc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/eolang/lints/LtSuppressedTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ final class LtSuppressedTest {
4040
@Test
4141
void lintsOneFile() throws IOException {
4242
MatcherAssert.assertThat(
43-
"the error is there",
43+
"failed to return one error",
4444
new LtSuppressed(new LtAlways()).defects(
4545
new EoSyntax(new InputOf("# first\n[] > foo\n")).parsed()
4646
),
@@ -51,7 +51,7 @@ void lintsOneFile() throws IOException {
5151
@Test
5252
void suppressesTheDefect() throws IOException {
5353
MatcherAssert.assertThat(
54-
"the error is there",
54+
"failed to return empty list",
5555
new LtSuppressed(new LtAlways()).defects(
5656
new EoSyntax(
5757
new InputOf("+unlint always\n\n# first\n[] > foo\n")

0 commit comments

Comments
 (0)