Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2015-07-24 00:09:44 +0000
committerJoakim Erdfelt2015-07-24 00:09:44 +0000
commit4282d92f309b24e9bf4f3ae6f79b0013e909e8b3 (patch)
tree6f495da3871bbfc4538728a10802f49a30615ac5 /apache-jstl/src/test/java
parent07423d92e25b94fd4394a03c7b5ea87e426bc02c (diff)
downloadorg.eclipse.jetty.project-4282d92f309b24e9bf4f3ae6f79b0013e909e8b3.tar.gz
org.eclipse.jetty.project-4282d92f309b24e9bf4f3ae6f79b0013e909e8b3.tar.xz
org.eclipse.jetty.project-4282d92f309b24e9bf4f3ae6f79b0013e909e8b3.zip
Simplifying <c:catch> from taglib testcase
Diffstat (limited to 'apache-jstl/src/test/java')
-rw-r--r--apache-jstl/src/test/java/org/eclipse/jetty/jstl/JstlTest.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JstlTest.java b/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JstlTest.java
index 6221c1d694..1f39e8a40c 100644
--- a/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JstlTest.java
+++ b/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JstlTest.java
@@ -127,9 +127,8 @@ public class JstlTest
SimpleRequest req = new SimpleRequest(baseUri);
String resp = req.getString("/catch-taglib.jsp");
System.out.println("resp = " + resp);
- assertThat("Response should be JSP processed", resp, not(containsString("<c:catch")));
- assertThat("Response should be JSP processed", resp, not(containsString("<jtest:errortest")));
- assertThat("Response", resp, containsString("[jtest:errorhandler] exception : "));
- assertThat("Response", resp, containsString("[jtest:errorhandler] exception.message : "));
+ assertThat("Response should be JSP processed", resp, not(containsString("<c:catch>")));
+ assertThat("Response should be JSP processed", resp, not(containsString("<jtest:errorhandler>")));
+ assertThat("Response", resp, not(containsString("[jtest:errorhandler] exception is null")));
}
}

Back to the top