Skip to content

Commit

Permalink
Fix tests for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Mar 8, 2024
1 parent d0d7788 commit 8e89865
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ void releaseArtifactsMultipleArtifact() {
publish(ProjectKeeperConfig.builder(), ChangesFile.builder(),
AnalyzedMavenSource.builder().releaseArtifactName("my-project1.jar").isRootProject(true).build(),
AnalyzedMavenSource.builder().releaseArtifactName("my-project2.jar").build());
verify(publisherMock).publish("release-artifacts", """
$project-dir/target/my-project1.jar
$project-dir/target/my-project2.jar
$project-dir/target/error_code_report.json""".replace("$project-dir", projectDir.toString()));
verify(publisherMock).publish("release-artifacts",
projectDir.resolve("target/my-project1.jar").toString() + "\n"
+ projectDir.resolve("target/my-project2.jar").toString() + "\n"
+ projectDir.resolve("target/error_code_report.json").toString());
}

@Test
Expand Down

0 comments on commit 8e89865

Please sign in to comment.