From 85cd57c58e6ef426050ec21bc2e164e8e3c8fd4e Mon Sep 17 00:00:00 2001 From: Conor MacNeill Date: Mon, 11 Mar 2002 11:54:09 +0000 Subject: [PATCH] JDK 1.4 compatability git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271816 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tools/ant/taskdefs/ZipTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/testcases/org/apache/tools/ant/taskdefs/ZipTest.java b/src/testcases/org/apache/tools/ant/taskdefs/ZipTest.java index 473fd1ce4..270d3248a 100644 --- a/src/testcases/org/apache/tools/ant/taskdefs/ZipTest.java +++ b/src/testcases/org/apache/tools/ant/taskdefs/ZipTest.java @@ -116,12 +116,12 @@ public class ZipTest extends BuildFileTest { ZipFile zipFile = new ZipFile(new File(getProjectDir(), "zipgroupfileset.zip")); - assert(zipFile.getEntry("ant.xml") != null); - assert(zipFile.getEntry("optional/jspc.xml") != null); - assert(zipFile.getEntry("zip/zipgroupfileset3.zip") != null); + assertTrue(zipFile.getEntry("ant.xml") != null); + assertTrue(zipFile.getEntry("optional/jspc.xml") != null); + assertTrue(zipFile.getEntry("zip/zipgroupfileset3.zip") != null); - assert(zipFile.getEntry("test6.mf") == null); - assert(zipFile.getEntry("test7.mf") == null); + assertTrue(zipFile.getEntry("test6.mf") == null); + assertTrue(zipFile.getEntry("test7.mf") == null); zipFile.close(); }