On Tue, 14 Oct 2025 11:17:11 GMT, Francesco Andreuzzi <[email protected]> wrote:
>> JUnit ignores `@Test` methods which do not return `void`: >> >> >> (1) [WARNING] @Test method 'public java.lang.String EmptyPath.toString()' >> must not return a value. It will not be executed. >> Source: MethodSource [className = 'EmptyPath', methodName = 'toString', >> methodParameterTypes = ''] >> at EmptyPath.toString(SourceFile:0) >> >> >> I propose to amend the method signature. This looks trivial to me. > > Francesco Andreuzzi has updated the pull request incrementally with one > additional commit since the last revision: > > rename This looks good to me. Please add a "noreg-self" label to the JBS issue (as per the guidelines here https://openjdk.org/guide/#noreg ) ------------- Marked as reviewed by jpai (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/27797#pullrequestreview-3335066084
