Skip to content

Commit

Permalink
Replaced List.of which were missed in the first round
Browse files Browse the repository at this point in the history
  • Loading branch information
ohecker committed Jun 11, 2024
1 parent 7f25bc7 commit db8cc0c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import java.io.IOException;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.junit.jupiter.api.Test;

Expand Down Expand Up @@ -97,7 +96,7 @@ void testMerge() {
new String[] { "second copyright 1", "second copyright 2", "first copyright 1", "first copyright 2" })));
assertTrue(merged.getLicenses().equals(Arrays.asList(new LicenseInfoCuration[] { licSecond, licFirst })));
assertTrue(merged.getExcludedPaths().equals(Arrays.asList(new String[] { "second path", "first path" })));
assertTrue(merged.getLicenseCurations().equals(List.of(lcSecond, lcFirst)));
assertTrue(merged.getCopyrightCurations().equals(List.of(ccSecond, ccFirst)));
assertTrue(merged.getLicenseCurations().equals(Arrays.asList(new LicenseCuration[] { lcSecond, lcFirst })));
assertTrue(merged.getCopyrightCurations().equals(Arrays.asList(new CopyrightCuration[] { ccSecond, ccFirst })));
}
}

0 comments on commit db8cc0c

Please sign in to comment.