aboutsummaryrefslogtreecommitdiffstats
path: root/test/rlx_test_utils.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2019-08-13 09:25:26 -0600
committerGitHub <[email protected]>2019-08-13 09:25:26 -0600
commitdef78e1c07c2ae79b8ba5293365a466e79a88b15 (patch)
tree2f3fbf7a07136767fddd8342e01eb0fddc777620 /test/rlx_test_utils.erl
parent912f513028dee5b0e0900a8d5e3430669fccaf4c (diff)
parente644d7c078c9b75edf1ba513a030d33921af8192 (diff)
downloadrelx-def78e1c07c2ae79b8ba5293365a466e79a88b15.tar.gz
relx-def78e1c07c2ae79b8ba5293365a466e79a88b15.tar.bz2
relx-def78e1c07c2ae79b8ba5293365a466e79a88b15.zip
Merge pull request #747 from arcusfelis/template-redefined-variable
Correctly render redefined variable
Diffstat (limited to 'test/rlx_test_utils.erl')
-rw-r--r--test/rlx_test_utils.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rlx_test_utils.erl b/test/rlx_test_utils.erl
index 37d9c7a..5328559 100644
--- a/test/rlx_test_utils.erl
+++ b/test/rlx_test_utils.erl
@@ -185,7 +185,8 @@ test_template_contents() ->
"{foo_yahoo, \"{{foo_yahoo}}\"}.\n"
"{google, \"{{google}}\"}.\n"
"{prop1, \"{{prop1}}\"}.\n"
- "{prop2, {{prop2}}}.\n".
+ "{prop2, {{prop2}}}.\n"
+ "{tpl_var, \"{{tpl_var}}\"}.\n".
escript_contents() ->
"#!/usr/bin/env escript\n"