config/lang: test case for multiline lang

This commit is contained in:
Mitchell Hashimoto 2015-03-02 21:17:44 -08:00
parent 23d90c0c02
commit 9e50bf76c7
1 changed files with 9 additions and 0 deletions

View File

@ -208,6 +208,15 @@ func TestEval(t *testing.T) {
"foo 42", "foo 42",
ast.TypeString, ast.TypeString,
}, },
// Multiline
{
"foo ${42+\n1.0}",
nil,
false,
"foo 43",
ast.TypeString,
},
} }
for _, tc := range cases { for _, tc := range cases {