JAVA-12359 Fix jdk 9 and above build
This commit is contained in:
parent
d81428bab7
commit
2181c452d3
|
@ -70,7 +70,7 @@ public class StringFilenameValidationUnitTest {
|
||||||
|
|
||||||
@ParameterizedTest
|
@ParameterizedTest
|
||||||
@EnabledOnOs({OS.LINUX, OS.MAC})
|
@EnabledOnOs({OS.LINUX, OS.MAC})
|
||||||
@MethodSource("filenamesWithInvalidWindowsChars")
|
@MethodSource("filenamesWithInvalidUnixChars")
|
||||||
public void givenFilenameStringWithInvalidWindowsCharAndIsUnix_whenValidateUsingIO_thenReturnTrue(String filename) throws IOException {
|
public void givenFilenameStringWithInvalidWindowsCharAndIsUnix_whenValidateUsingIO_thenReturnTrue(String filename) throws IOException {
|
||||||
assertThat(validateStringFilenameUsingIO(filename)).isTrue();
|
assertThat(validateStringFilenameUsingIO(filename)).isTrue();
|
||||||
assertThat(validateStringFilenameUsingNIO2(filename)).isTrue();
|
assertThat(validateStringFilenameUsingNIO2(filename)).isTrue();
|
||||||
|
|
Loading…
Reference in New Issue