summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/src/net/sf/antcontrib/design/VerifyDesignTest.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/src/net/sf/antcontrib/design/VerifyDesignTest.java b/test/src/net/sf/antcontrib/design/VerifyDesignTest.java
index 746448c..133e392 100644
--- a/test/src/net/sf/antcontrib/design/VerifyDesignTest.java
+++ b/test/src/net/sf/antcontrib/design/VerifyDesignTest.java
@@ -76,7 +76,11 @@ public class VerifyDesignTest extends BuildFileTest {
public void testArrayDepend3() {
String class1 = "mod.arraydepend3.ClassDependsOnArray";
- String class2 = "mod.dummy.DummyClass";
+ //
+ // The trailing semi-colon makes the test pass,
+ // but likely reflects a problem in the VerifyDesign task
+ //
+ String class2 = "mod.dummy.DummyClass;";
expectDesignCheckFailure("testArrayDepend3", Design.getErrorMessage(class1, class2));
}