Skip to content

Commit

Permalink
ISPN-13802 Add artifact information in LicenseTest assert error message
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolovison authored and pruivo committed Apr 4, 2022
1 parent e074ff4 commit 7693954
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ public void testLicense() throws IOException {

tdMatcher.find();
String remoteLicenses = tdMatcher.group(1);
Assert.assertTrue(hasLicenseLink(remoteLicenses));
Assert.assertTrue("Remote License: " + artifact + ":" + version + ":" + remoteLicenses, hasLicenseLink(remoteLicenses));

tdMatcher.find();
String localLicenses = tdMatcher.group(1);
Assert.assertTrue(hasLicenseLink(localLicenses));
Assert.assertTrue("Local License: " + artifact + ":" + version + ":" + localLicenses, hasLicenseLink(localLicenses));

htmlDependencies.add(String.format("%s-%s.jar", artifact, version));
}
Expand Down

0 comments on commit 7693954

Please sign in to comment.