diff --git a/analysis_options.yaml b/analysis_options.yaml index b6fe09f..69385a3 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,14 +1 @@ -# Defines a default set of lint rules enforced for -# projects at Google. For details and rationale, -# see https://github.com/dart-lang/pedantic#enabled-lints. -include: package:pedantic/analysis_options.yaml - -# For lint rules and documentation, see http://dart-lang.github.io/linter/lints. -# Uncomment to specify additional rules. -# linter: -# rules: -# - camel_case_types - -# analyzer: -# exclude: -# - path/to/excluded/files/** \ No newline at end of file +include: package:pedantic/analysis_options.1.9.0.yaml \ No newline at end of file diff --git a/lib/src/flutter/steps/then_expect_element_to_have_value_step.dart b/lib/src/flutter/steps/then_expect_element_to_have_value_step.dart index db98d55..b21ea91 100644 --- a/lib/src/flutter/steps/then_expect_element_to_have_value_step.dart +++ b/lib/src/flutter/steps/then_expect_element_to_have_value_step.dart @@ -29,46 +29,4 @@ StepDefinitionGeneric ThenExpectElementToHaveValue() { } }, ); -} - -class AuthenticationSteps { - static Iterable steps = [ - StepOne(), - StepFive(), - ]; - - static StepDefinitionGeneric StepOne() => given( - 'some step', - (context) async { - // do something - }, - ); - - static StepDefinitionGeneric StepFive() => given2( - 'step five with {string} and {int}', - (str, value, context) async { - // do something - }, - ); -} - -class AccountSteps { - static Iterable steps = [ - StepOne(), - StepFive(), - ]; - - static StepDefinitionGeneric StepOne() => given( - 'some step account step', - (context) async { - // do something - }, - ); - - static StepDefinitionGeneric StepFive() => given2( - 'step five with {string} and {int}', - (str, value, context) async { - // do something - }, - ); -} +} \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index e2340cf..5ec1f33 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -22,6 +22,6 @@ dependencies: dev_dependencies: test: - pedantic: + pedantic: ^1.9.2 flutter: