-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use versions of dummy artifacts in IT assertions
We can not use version of production artifact it can change between build
- Loading branch information
1 parent
0b860eb
commit bb3e460
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
versions-maven-plugin/src/it/it-plugin-updates-report-issue-755/verify.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
report = new File( basedir, "target/plugin-updates-report.xml" ).text.replaceAll( '\\s*', '' ) | ||
|
||
assert report.contains( '<major>3.0.0</major>' ) | ||
assert report.contains( '<minor>2.3</minor>' ) | ||
assert report.contains( '<incremental>2.2.2</incremental>' ) | ||
|
||
assert report.contains( '<minor>2.1</minor>' ) | ||
assert report.contains( '<major>3.1</major>' ) |