From a5ab9893ada842ca66238eeccffc61b5735191b7 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Sun, 14 Dec 2008 19:20:17 +0000 Subject: [PATCH] o disallow 1.4 now git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726520 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/java/org/apache/maven/cli/MavenCliTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9533197ac1..cc9cced879 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 @@ -66,7 +66,7 @@ public class MavenCliTest System.setProperty( "java.specification.version", "1.3" ); assertEquals( 1, MavenCli.main( new String[] { "-h" }, classWorld ) ); System.setProperty( "java.specification.version", "1.4" ); - assertEquals( 0, MavenCli.main( new String[] { "-h" }, classWorld ) ); + assertEquals( 1, MavenCli.main( new String[] { "-h" }, classWorld ) ); System.setProperty( "java.specification.version", "1.5" ); assertEquals( 0, MavenCli.main( new String[] { "-h" }, classWorld ) ); System.setProperty( "java.specification.version", "1.6" );