@@ -263,11 +263,26 @@ void main() {
263263
264264 // Even in lenient mode, tag names may not be a single sigil
265265 // character.
266- expect (() => parse ('{{#}}' , lenient: true ), throwsA (isA <TemplateException >()));
267- expect (() => parse ('{{>}}' , lenient: true ), throwsA (isA <TemplateException >()));
268- expect (() => parse ('{{&}}' , lenient: true ), throwsA (isA <TemplateException >()));
269- expect (() => parse ('{{/}}' , lenient: true ), throwsA (isA <TemplateException >()));
270- expect (() => parse ('{{^}}' , lenient: true ), throwsA (isA <TemplateException >()));
266+ expect (
267+ () => parse ('{{#}}' , lenient: true ),
268+ throwsA (isA <TemplateException >()),
269+ );
270+ expect (
271+ () => parse ('{{>}}' , lenient: true ),
272+ throwsA (isA <TemplateException >()),
273+ );
274+ expect (
275+ () => parse ('{{&}}' , lenient: true ),
276+ throwsA (isA <TemplateException >()),
277+ );
278+ expect (
279+ () => parse ('{{/}}' , lenient: true ),
280+ throwsA (isA <TemplateException >()),
281+ );
282+ expect (
283+ () => parse ('{{^}}' , lenient: true ),
284+ throwsA (isA <TemplateException >()),
285+ );
271286
272287 // >a means 'a partial named "a"', not a variable named ">a",
273288 // and in lenient mode the missing partial should fail silently
0 commit comments