From 28870c3dc7f84f33d79676474d62cd5b76ef9bc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotrek=20=C5=BBygie=C5=82o?= Date: Fri, 24 Sep 2021 10:58:35 +0200 Subject: [PATCH] Agree verb with subject --- .../java/org/apache/maven/plugins/invoker/InvokerSession.java | 2 +- .../org/apache/maven/plugins/invoker/InvokerSessionTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/maven/plugins/invoker/InvokerSession.java b/src/main/java/org/apache/maven/plugins/invoker/InvokerSession.java index 75cedd83..06cead44 100644 --- a/src/main/java/org/apache/maven/plugins/invoker/InvokerSession.java +++ b/src/main/java/org/apache/maven/plugins/invoker/InvokerSession.java @@ -213,7 +213,7 @@ public void logSummary( Log logger, boolean ignoreFailures ) logBuildJobList( logger, ignoreFailures, "The following builds failed:", failedJobs ); logBuildJobList( logger, ignoreFailures, "The following builds finished with error:", errorJobs ); - logBuildJobList( logger, true, "The following builds was skipped:", skippedJobs ); + logBuildJobList( logger, true, "The following builds were skipped:", skippedJobs ); } public void logFailedBuildLog( Log logger, boolean ignoreFailures ) diff --git a/src/test/java/org/apache/maven/plugins/invoker/InvokerSessionTest.java b/src/test/java/org/apache/maven/plugins/invoker/InvokerSessionTest.java index a8ef8a94..bd5c0296 100644 --- a/src/test/java/org/apache/maven/plugins/invoker/InvokerSessionTest.java +++ b/src/test/java/org/apache/maven/plugins/invoker/InvokerSessionTest.java @@ -46,7 +46,7 @@ public void skipSummary() session.logSummary( logger, false ); - verify( logger ).warn( "The following builds was skipped:" ); + verify( logger ).warn( "The following builds were skipped:" ); verify( logger ).warn( "* minvoker-279" ); verify( logger, never() ).error( anyString() ); }