You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by mo...@apache.org on 2003/01/23 01:19:18 UTC
cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit suite.jelly
morgand 2003/01/22 16:19:18
Modified: jelly/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit
suite.jelly
Log:
JellyAssertionFailedError.java version 1.2 changed the formatting of
its exceptions
Revision Changes Path
1.2 +2 -1 jakarta-commons-sandbox/jelly/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly
Index: suite.jelly
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- suite.jelly 21 Jan 2003 15:49:29 -0000 1.1
+++ suite.jelly 23 Jan 2003 00:19:18 -0000 1.2
@@ -94,7 +94,8 @@
</j:catch>
<test:assert test="${ex != null}">assertThrows should fail when nothing is thrown from within it</test:assert>
- <test:assert test="${ex.message.startsWith('No exception was thrown.')}"/>
+
+ <test:assert test="${ex.message.endsWith('No exception was thrown.')}"/>
<test:assertEquals actual="${ex.elementName}" expected="test:assertThrows"/>
<test:assert test="${ex.fileName != null}">fileName not set</test:assert>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>