From c3975352232594889365ee27bd38a35096a6081a Mon Sep 17 00:00:00 2001 From: Swell <5782559+sultan@users.noreply.github.com> Date: Wed, 14 Sep 2022 20:47:10 +0200 Subject: [PATCH] #632 Fixed lower and upper bounds to keep milestones and rcs in the right majors. --- src/it/it-dependency-updates-report-001/verify.bsh | 2 +- src/it/it-plugin-updates-report-001/verify.bsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/it/it-dependency-updates-report-001/verify.bsh b/src/it/it-dependency-updates-report-001/verify.bsh index cb1a4a8c77..289ca69b24 100644 --- a/src/it/it-dependency-updates-report-001/verify.bsh +++ b/src/it/it-dependency-updates-report-001/verify.bsh @@ -17,7 +17,7 @@ try System.out.println( "Result = \"" + result +"\"" ); return false; } - if ( result.indexOf( "1.1.0-2 Next Version" ) < 0) + if ( result.indexOf( "1.1.0-2 Latest Subincremental" ) < 0) { System.out.println( "Did not identify next version" ); System.out.println( "Result = \"" + result +"\"" ); diff --git a/src/it/it-plugin-updates-report-001/verify.bsh b/src/it/it-plugin-updates-report-001/verify.bsh index 67a272ca2f..003f5155ce 100644 --- a/src/it/it-plugin-updates-report-001/verify.bsh +++ b/src/it/it-plugin-updates-report-001/verify.bsh @@ -39,7 +39,7 @@ try return false; } if ( result.indexOf( "Group Id localhost Artifact Id dummy-api Current Version 1.1 Classifier Type jar Newer " - + "versions 1.1.0-2 Next Version 1.1.1 Next Incremental 1.1.1-2 1.1.2 1.1.3 Latest Incremental 1.2 Next " + + "versions 1.1.0-2 Latest Subincremental 1.1.1 Next Incremental 1.1.1-2 1.1.2 1.1.3 Latest Incremental 1.2 Next " + "Minor 1.2.1 1.2.2 1.3 Latest Minor 2.0 Next Major 2.1 3.0 Latest Major" ) < 0) { System.out.println( "Did not identify dependency next versions" );