This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git


The following commit(s) were added to refs/heads/master by this push:
     new 873ebb0  [MSHARED-1109] fix broken IT after previous refactoring
873ebb0 is described below

commit 873ebb0e3c718d3dc2ceb095f8cb99a89faa7918
Author: Konrad Windszus <[email protected]>
AuthorDate: Mon Jul 25 20:00:47 2022 +0200

    [MSHARED-1109] fix broken IT after previous refactoring
    
    This closes #107
---
 .../java/org/apache/maven/shared/utils/logging/MessageUtilsTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/maven/shared/utils/logging/MessageUtilsTest.java 
b/src/test/java/org/apache/maven/shared/utils/logging/MessageUtilsTest.java
index 2780f8b..972ceae 100644
--- a/src/test/java/org/apache/maven/shared/utils/logging/MessageUtilsTest.java
+++ b/src/test/java/org/apache/maven/shared/utils/logging/MessageUtilsTest.java
@@ -47,7 +47,6 @@ public class MessageUtilsTest
         {
             MessageUtils.systemInstall();
             assertThat( System.out, not( sameInstance( currentOut ) ) );
-            assertThat( System.out, sameInstance( currentOut ) );
         }
         catch( LinkageError e )
         {
@@ -66,6 +65,7 @@ public class MessageUtilsTest
                 // ignore any thrown exception like NPE here
             }
         }
+        assertThat( System.out, sameInstance( currentOut ) );
     }
 
     @Test

Reply via email to