Skip to content

Commit a805222

Browse files
committed
Fix after review
1 parent cfba3b6 commit a805222

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@ final class WalkTest {
2424

2525
@Test
2626
void findsFilesMatchingGlobPattern(@Mktmp final Path temp) throws Exception {
27-
final String nonmatch = "foo/hello/0.1/EObar/x.bin";
28-
final String match = "EOxxx/bar";
27+
new Saved("", temp.resolve("foo/hello/0.1/EObar/x.bin")).value();
28+
new Saved("", temp.resolve("EOxxx/bar")).value();
2929
final String pattern = "EO**/*";
3030
final int count = 1;
31-
new HmBase(temp).save("", Paths.get(nonmatch));
32-
new HmBase(temp).save("", Paths.get(match));
3331
MatcherAssert.assertThat(
3432
String.format(
3533
"Expected %d file(s) matching pattern '%s'",

0 commit comments

Comments
 (0)