chore(release): updated dart_gherkin lib
This commit is contained in:
parent
5ea4e7ffe2
commit
8b82429da8
|
@ -1,3 +1,6 @@
|
||||||
|
## [1.0.7] - 23/08/2019
|
||||||
|
* Updated to latest dart_gherkin lib
|
||||||
|
|
||||||
## [1.0.6] - 21/08/2019
|
## [1.0.6] - 21/08/2019
|
||||||
* Added support to restart app during test ```world.restartApp();```
|
* Added support to restart app during test ```world.restartApp();```
|
||||||
|
|
||||||
|
|
|
@ -104,7 +104,7 @@ packages:
|
||||||
name: gherkin
|
name: gherkin
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.4"
|
version: "1.0.5"
|
||||||
glob:
|
glob:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -16,7 +16,7 @@ dependencies:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
glob: ^1.1.7
|
glob: ^1.1.7
|
||||||
meta: ">=1.1.6 <=1.1.7"
|
meta: ">=1.1.6 <=1.1.7"
|
||||||
gherkin: ^1.0.4
|
gherkin: ^1.0.5
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
test: ">=1.6.1 <=1.6.4"
|
test: ">=1.6.1 <=1.6.4"
|
||||||
|
|
|
@ -2,10 +2,9 @@ import 'package:gherkin/gherkin.dart';
|
||||||
|
|
||||||
typedef Future<void> OnRunCode(Iterable parameters);
|
typedef Future<void> OnRunCode(Iterable parameters);
|
||||||
|
|
||||||
class MockStepDefinition extends StepDefinitionBase<World, Function> {
|
class MockStepDefinition extends StepDefinitionBase<World> {
|
||||||
bool hasRun = false;
|
bool hasRun = false;
|
||||||
int runCount = 0;
|
int runCount = 0;
|
||||||
@override
|
|
||||||
final OnRunCode code;
|
final OnRunCode code;
|
||||||
|
|
||||||
MockStepDefinition([this.code, int expectedParameterCount = 0])
|
MockStepDefinition([this.code, int expectedParameterCount = 0])
|
||||||
|
|
Loading…
Reference in New Issue