Merge pull request #246 from youssef-t/integration_test__package_support

- Fix #245 - removing the redundant escaping
This commit is contained in:
Jon Samwell 2022-07-12 15:50:39 +10:00 committed by GitHub
commit c80557e291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -183,10 +183,10 @@ class FeatureFileTestGeneratorVisitor extends FeatureFileVisitor {
);} );}
'''; ''';
static const String onBeforeScenarioRun = ''' 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 = ''' 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(); final StringBuffer _buffer = StringBuffer();