freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject [21/35] incubator-freemarker git commit: (Added an ?interpret test)
Date Wed, 30 Dec 2015 18:11:41 GMT
(Added an ?interpret 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/576625f5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/576625f5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/576625f5

Branch: refs/heads/2.3
Commit: 576625f559d3d86d98c85e30488b1eb5977c546d
Parents: 90fcfb9
Author: ddekany <ddekany@apache.org>
Authored: Sun Dec 27 16:31:59 2015 +0100
Committer: ddekany <ddekany@apache.org>
Committed: Sun Dec 27 16:31:59 2015 +0100

----------------------------------------------------------------------
 .../resources/freemarker/test/templatesuite/expected/interpret.txt | 2 ++
 .../freemarker/test/templatesuite/templates/interpret.ftl          | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/576625f5/src/test/resources/freemarker/test/templatesuite/expected/interpret.txt
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/test/templatesuite/expected/interpret.txt b/src/test/resources/freemarker/test/templatesuite/expected/interpret.txt
index 8430235..4b93e22 100644
--- a/src/test/resources/freemarker/test/templatesuite/expected/interpret.txt
+++ b/src/test/resources/freemarker/test/templatesuite/expected/interpret.txt
@@ -1,3 +1,5 @@
 abcdef
 abcdef
 abcdef
+
+M
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/576625f5/src/test/resources/freemarker/test/templatesuite/templates/interpret.ftl
----------------------------------------------------------------------
diff --git a/src/test/resources/freemarker/test/templatesuite/templates/interpret.ftl b/src/test/resources/freemarker/test/templatesuite/templates/interpret.ftl
index cc82c9d..46f6197 100644
--- a/src/test/resources/freemarker/test/templatesuite/templates/interpret.ftl
+++ b/src/test/resources/freemarker/test/templatesuite/templates/interpret.ftl
@@ -3,3 +3,5 @@
 <#transform templateSource?interpret>def</#transform>
 <#transform [templateSource]?interpret>def</#transform>
 <#transform [templateSource,"id"]?interpret>def</#transform>
+
+<#assign t = '<#macro m>M</#macro>'?interpret><@t /><@m/>
\ No newline at end of file


Mime
View raw message