diff --git a/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java b/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java index b5be6c8744..9533197ac1 100644 --- a/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java +++ b/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java @@ -75,7 +75,7 @@ public class MavenCliTest finally { System.setErr( oldErr ); - System.setErr( oldOut ); + System.setOut( oldOut ); } } }