config/lang: test case for multiline lang
This commit is contained in:
parent
23d90c0c02
commit
9e50bf76c7
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue