Skip to content

Conversation

@d4rken
Copy link
Member

@d4rken d4rken commented Aug 31, 2025

basePath.child("abc", "/") created an invalid test case as / can not be the name of a child.

This commit removes a redundant test case from SystemCrawlerSieveTest that was already covered by SegmentCriteriumTest. It also adds new test cases to SegmentCriteriumTest to verify correct matching of paths ending with a separator, especially when allowPartial = true.

`basePath.child("abc", "/")` created an invalid test case as `/` can not be the name of a child.

This commit removes a redundant test case from `SystemCrawlerSieveTest` that was already covered by `SegmentCriteriumTest`.
It also adds new test cases to `SegmentCriteriumTest` to verify correct matching of paths ending with a separator, especially when `allowPartial = true`.
@d4rken d4rken added c: SystemCleaner c: Debug Debugging related features/issues labels Aug 31, 2025
@d4rken d4rken enabled auto-merge (rebase) September 1, 2025 15:18
@d4rken d4rken disabled auto-merge September 1, 2025 15:18
@d4rken d4rken merged commit 31e8623 into main Sep 1, 2025
16 checks passed
@d4rken d4rken deleted the systemcleaner-path-testcase branch September 1, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: Debug Debugging related features/issues c: SystemCleaner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants