o disallow 1.4 now

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726520 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2008-12-14 19:20:17 +00:00
parent 3f3945729f
commit a5ab9893ad
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ public class MavenCliTest
System.setProperty( "java.specification.version", "1.3" ); System.setProperty( "java.specification.version", "1.3" );
assertEquals( 1, MavenCli.main( new String[] { "-h" }, classWorld ) ); assertEquals( 1, MavenCli.main( new String[] { "-h" }, classWorld ) );
System.setProperty( "java.specification.version", "1.4" ); 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" ); System.setProperty( "java.specification.version", "1.5" );
assertEquals( 0, MavenCli.main( new String[] { "-h" }, classWorld ) ); assertEquals( 0, MavenCli.main( new String[] { "-h" }, classWorld ) );
System.setProperty( "java.specification.version", "1.6" ); System.setProperty( "java.specification.version", "1.6" );