Fix redundant escaping

This commit is contained in:
youssef-t 2022-07-06 17:38:42 +02:00
parent 7ee9f801d1
commit be29f5af45
1 changed files with 2 additions and 2 deletions

View File

@ -183,10 +183,10 @@ class FeatureFileTestGeneratorVisitor extends FeatureFileVisitor {
);}
''';
static const String onBeforeScenarioRun = '''
onBefore: () async => onBeforeRunFeature(name:'{{feature_name}}', path:r'{{path}}', description: {{feature_description}}, tags:{{feature_tags}},),
onBefore: () async => onBeforeRunFeature(name:'{{feature_name}}', path:'{{path}}', description: {{feature_description}}, tags:{{feature_tags}},),
''';
static const String onAfterScenarioRun = '''
onAfter: () async => onAfterRunFeature(name:'{{feature_name}}', path:r'{{path}}', description: {{feature_description}}, tags:{{feature_tags}},),
onAfter: () async => onAfterRunFeature(name:'{{feature_name}}', path:'{{path}}', description: {{feature_description}}, tags:{{feature_tags}},),
''';
final StringBuffer _buffer = StringBuffer();