Skip to content

Commit

Permalink
Merge pull request #193 from jgonggrijp/master
Browse files Browse the repository at this point in the history
Add missing test to JSON conversion
  • Loading branch information
jgonggrijp authored Aug 11, 2024
2 parents 8a38807 + 511acd9 commit 1b4ea6b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions specs/interpolation.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
"template": "Hello, {{subject}}!\n",
"expected": "Hello, world!\n"
},
{
"name": "No Re-interpolation",
"desc": "Interpolated tag output should not be re-interpolated.",
"data": {
"template": "{{planet}}",
"planet": "Earth"
},
"template": "{{template}}: {{planet}}",
"expected": "{{planet}}: Earth"
},
{
"name": "HTML Escaping",
"desc": "Basic interpolation should be HTML escaped.",
Expand Down

0 comments on commit 1b4ea6b

Please sign in to comment.