We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b51be57 commit 1ec406cCopy full SHA for 1ec406c
src/test/java/io/github/computerdaddyguy/jfiletreeprettyprinter/PathPredicateBuilderTest.java
@@ -608,13 +608,13 @@ void matches_sibling_failed() throws IOException {
608
609
@Test
610
void root_has_no_sibling() {
611
- var root = Path.of("root");
+ var detachedRoot = Path.of("root");
612
613
var filter = PathPredicates.builder().hasSiblingMatching(
614
p -> true
615
).build();
616
617
- assertThat(filter.test(root)).isFalse();
+ assertThat(filter.test(detachedRoot)).isFalse();
618
}
619
620
0 commit comments