diff --git a/test/syntax-errors.json b/test/syntax-errors.json index c607e632e8..4fc4481f7a 100644 --- a/test/syntax-errors.json +++ b/test/syntax-errors.json @@ -7,7 +7,6 @@ "{{}", "{{}}}", "{|foo| #markup}", - "{/tag foo=bar}", "{{missing end brace}", "{{missing end braces", "{{missing end {$braces", diff --git a/test/test-core.json b/test/test-core.json index b94c29ddef..db7c03af51 100644 --- a/test/test-core.json +++ b/test/test-core.json @@ -114,6 +114,19 @@ } ] }, + { + "src": "{/tag foo=bar}", + "exp": "", + "parts": [ + { + "type": "markup", + "kind": "close", + "name": "tag", + "options": { "foo": "bar" } + } + ] + }, + { "src": "{#tag a:foo=|foo| b:bar=$bar}", "params": { "bar": "b a r" },