Skip to content

Commit ff6d3a6

Browse files
committed
Format feature_test.dart
1 parent 6d95882 commit ff6d3a6

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

third_party/packages/mustache_template/test/feature_test.dart

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)