Skip to content

Commit cfba3b6

Browse files
committed
fix the Qulice errors
1 parent 982aee2 commit cfba3b6

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

eo-maven-plugin/src/test/java/org/eolang/maven/WalkTest.java

+11-13
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,20 @@ final class WalkTest {
2424

2525
@Test
2626
void findsFilesMatchingGlobPattern(@Mktmp final Path temp) throws Exception {
27-
final String nonMatchingFile = "foo/hello/0.1/EObar/x.bin";
28-
final String matchingFile = "EOxxx/bar";
29-
final String includePattern = "EO**/*";
30-
final int expectedCount = 1;
31-
32-
new HmBase(temp).save("", Paths.get(nonMatchingFile));
33-
new HmBase(temp).save("", Paths.get(matchingFile));
34-
27+
final String nonmatch = "foo/hello/0.1/EObar/x.bin";
28+
final String match = "EOxxx/bar";
29+
final String pattern = "EO**/*";
30+
final int count = 1;
31+
new HmBase(temp).save("", Paths.get(nonmatch));
32+
new HmBase(temp).save("", Paths.get(match));
3533
MatcherAssert.assertThat(
3634
String.format(
3735
"Expected %d file(s) matching pattern '%s'",
38-
expectedCount,
39-
includePattern
36+
count,
37+
pattern
4038
),
41-
new Walk(temp).includes(new ListOf<>(includePattern)),
42-
Matchers.iterableWithSize(expectedCount)
39+
new Walk(temp).includes(new ListOf<>(pattern)),
40+
Matchers.iterableWithSize(count)
4341
);
4442
}
45-
}
43+
}

0 commit comments

Comments
 (0)