Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisJehan committed Feb 9, 2023
1 parent b9579ed commit 0b894a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void testConstructorImmutable() {
final var availableVersions = new ArrayList<>(AVAILABLE_VERSIONS);
final var artifactAvailableVersions = new ArtifactAvailableVersions(ARTIFACT, availableVersions);
availableVersions.clear();
assertThat(artifactAvailableVersions.getAvailableVersions()).containsExactlyElementsOf(AVAILABLE_VERSIONS);
assertThat(artifactAvailableVersions.getAvailableVersions()).isEqualTo(AVAILABLE_VERSIONS);
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ void testConstructorImmutable() {
final var build = new Build(FILE, repositories, artifacts);
repositories.clear();
artifacts.clear();
assertThat(build.getRepositories()).containsExactlyElementsOf(REPOSITORIES);
assertThat(build.getArtifacts()).containsExactlyElementsOf(ARTIFACTS);
assertThat(build.getRepositories()).isEqualTo(REPOSITORIES);
assertThat(build.getArtifacts()).isEqualTo(ARTIFACTS);
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ void testConstructorImmutable() {
final var decryptedSettings = new DecryptedSettings(proxies, servers);
proxies.clear();
servers.clear();
assertThat(decryptedSettings.getProxies()).containsExactlyElementsOf(PROXIES);
assertThat(decryptedSettings.getServers()).containsExactlyElementsOf(SERVERS);
assertThat(decryptedSettings.getProxies()).isEqualTo(PROXIES);
assertThat(decryptedSettings.getServers()).isEqualTo(SERVERS);
}

@Test
Expand Down

0 comments on commit 0b894a1

Please sign in to comment.