Skip to content

Commit

Permalink
Fix SourceArgumentConverterTest for windows and use only canonical fi…
Browse files Browse the repository at this point in the history
…les to compare
  • Loading branch information
baloo42 committed Oct 3, 2024
1 parent 21bcf17 commit 630da6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void givenValidCustomResourceClassArgument_thenConvertToCustomResourceClassArgum

@Test
void givenExistingFile_thenConvertToFileToScanArgument(@TempDir File tempDir) throws IOException {
File exampleFile = new File(tempDir, "example-file.txt");
File exampleFile = new File(tempDir, "example-file.txt").getCanonicalFile();
Files.write(exampleFile.toPath(), Collections.singletonList("some-content"));

SourceParameterTypeConverter converter = new SourceParameterTypeConverter();
Expand Down

0 comments on commit 630da6a

Please sign in to comment.