Skip to content

Commit 1b4ea6b

Browse files
authored
Merge pull request #193 from jgonggrijp/master
Add missing test to JSON conversion
2 parents 8a38807 + 511acd9 commit 1b4ea6b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

specs/interpolation.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@
1919
"template": "Hello, {{subject}}!\n",
2020
"expected": "Hello, world!\n"
2121
},
22+
{
23+
"name": "No Re-interpolation",
24+
"desc": "Interpolated tag output should not be re-interpolated.",
25+
"data": {
26+
"template": "{{planet}}",
27+
"planet": "Earth"
28+
},
29+
"template": "{{template}}: {{planet}}",
30+
"expected": "{{planet}}: Earth"
31+
},
2232
{
2333
"name": "HTML Escaping",
2434
"desc": "Basic interpolation should be HTML escaped.",

0 commit comments

Comments
 (0)