JAVA-12359 Fix jdk 9 and above build

This commit is contained in:
anuragkumawat 2022-06-17 22:37:23 +05:30
parent d81428bab7
commit 2181c452d3
1 changed files with 1 additions and 1 deletions

View File

@ -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();