chore(lint): fixes

This commit is contained in:
Jon Samwell 2021-01-08 17:21:50 +11:00
parent cf8d28d63e
commit 6c6d76c40f
4 changed files with 8 additions and 6 deletions

View File

@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"integration_test","path":"C:\\\\Google\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\integration_test-1.0.1\\\\","dependencies":[]}],"android":[{"name":"integration_test","path":"C:\\\\Google\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\integration_test-1.0.1\\\\","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"integration_test","dependencies":[]}],"date_created":"2021-01-08 16:39:37.431562","version":"1.22.5"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"integration_test","path":"C:\\\\Google\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\integration_test-1.0.1\\\\","dependencies":[]}],"android":[{"name":"integration_test","path":"C:\\\\Google\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\integration_test-1.0.1\\\\","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"integration_test","dependencies":[]}],"date_created":"2021-01-08 17:21:20.583109","version":"1.22.5"}

View File

@ -1,11 +1,13 @@
import 'package:integration_test/integration_test_driver.dart' as integration_test_driver;
import 'package:integration_test/integration_test_driver.dart'
as integration_test_driver;
Future<void> main() {
const maximumTestRunDuration = Duration(minutes: 90);
// Tests will write any output files to this directory
integration_test_driver.testOutputsDirectory = './';
return integration_test_driver.integrationDriver(timeout: maximumTestRunDuration);
return integration_test_driver.integrationDriver(
timeout: maximumTestRunDuration);
}
// import 'package:flutter_driver/flutter_driver.dart';

View File

@ -192,8 +192,8 @@ class FeatureFileTestGeneratorVisitor extends FeatureFileVisitor {
_flushScenario();
_currentScenarioCode =
_replaceVariable(SCENARIO_TEMPLATE, 'scenario_name', name);
_currentScenarioCode =
_replaceVariable(_currentScenarioCode, 'tags', '[${tags.map((e) => "'$e'").join(', ')}]');
_currentScenarioCode = _replaceVariable(_currentScenarioCode, 'tags',
'[${tags.map((e) => "'$e'").join(', ')}]');
}
@override

View File

@ -49,7 +49,7 @@ packages:
name: build
url: "https://pub.dartlang.org"
source: hosted
version: "1.6.0"
version: "1.6.1"
build_config:
dependency: "direct main"
description: