freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject [2/2] incubator-freemarker git commit: Additional [=...] test.
Date Sat, 24 Mar 2018 08:50:41 GMT
Additional [=...] test.


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/0c5c1663
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/0c5c1663
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/0c5c1663

Branch: refs/heads/2.3-gae
Commit: 0c5c166392e772cf189cde05ad0064d8e82860dc
Parents: 6c29225
Author: ddekany <ddekany@apache.org>
Authored: Sat Mar 24 09:50:21 2018 +0100
Committer: ddekany <ddekany@apache.org>
Committed: Sat Mar 24 09:50:21 2018 +0100

----------------------------------------------------------------------
 src/test/java/freemarker/core/ParsingErrorMessagesTest.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/0c5c1663/src/test/java/freemarker/core/ParsingErrorMessagesTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/freemarker/core/ParsingErrorMessagesTest.java b/src/test/java/freemarker/core/ParsingErrorMessagesTest.java
index bea6c97..73797ba 100644
--- a/src/test/java/freemarker/core/ParsingErrorMessagesTest.java
+++ b/src/test/java/freemarker/core/ParsingErrorMessagesTest.java
@@ -42,6 +42,7 @@ public class ParsingErrorMessagesTest extends TemplateTest {
         assertErrorContainsAS("<#if ${x == 3}></#if>", "instead of ${");
         assertErrorContainsAS("<@foo ${x == 3} />", "instead of ${");
         getConfiguration().setInterpolationSyntax(Configuration.SQUARE_BRACKET_INTERPOLATION_SYNTAX);
+        assertErrorContainsAS("<@foo [= x == 3] />", "instead of [=");
     }
 
     @Test


Mime
View raw message