diff --git a/test/src/main/java/org/jvnet/hudson/test/JellyTestSuiteBuilder.java b/test/src/main/java/org/jvnet/hudson/test/JellyTestSuiteBuilder.java index 37a1c08bb1acdd1a975ce6099871754579d647d8..3607273be4343ea147f4599200a3daf40cf1757f 100644 --- a/test/src/main/java/org/jvnet/hudson/test/JellyTestSuiteBuilder.java +++ b/test/src/main/java/org/jvnet/hudson/test/JellyTestSuiteBuilder.java @@ -95,7 +95,7 @@ public class JellyTestSuiteBuilder { if (requirePI) { ProcessingInstruction pi = dom.processingInstruction("jelly"); if (pi==null || !pi.getText().contains("escape-by-default")) - throw new AssertionError(" is missing"); + throw new AssertionError(" is missing in "+jelly); } // TODO: what else can we check statically? use of taglibs? @@ -109,7 +109,7 @@ public class JellyTestSuiteBuilder { if (!dom.selectNodes("//label[@for]").isEmpty()) throw new AssertionError("