Skip to content

Commit

Permalink
Update junit detection in tests after junit update.
Browse files Browse the repository at this point in the history
  • Loading branch information
smuda committed Dec 5, 2020
1 parent 4971c06 commit fbbd59e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/it/multi-module-project/verify.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ try {

String log = new String(Files.readAllBytes(file.toPath()));

if (!log.contains("junit:junit:4.12")) {
if (!log.contains("junit:junit:4.13.1")) {
return false;
}

Expand All @@ -42,7 +42,7 @@ try {
return false;
}

if (!log.contains("VALID artifact junit:junit:jar:4.12:compile with licenses: \"Eclipse Public License 1.0\"")) {
if (!log.contains("VALID artifact junit:junit:jar:4.13.1:compile with licenses: \"Eclipse Public License 1.0\"")) {
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion src/it/unverified-license/verify.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ try {

String log = new String(Files.readAllBytes(file.toPath()));

if (!log.contains("UNKNOWN artifact junit:junit:jar:4.12:test with licenses: \"Eclipse Public License 1.0\"")) {
if (!log.contains("UNKNOWN artifact junit:junit:jar:4.13.1:test with licenses: \"Eclipse Public License 1.0\"")) {
return false;
}

Expand Down

0 comments on commit fbbd59e

Please sign in to comment.