Roll engine to 0c119932c0d6cb30dafd75ec717d1eda76fd7651 (#18575)

This commit is contained in:
Greg Spencer
2018-06-19 00:58:20 -07:00
committed by Florian Loitsch
parent 9e7e6e7c9b
commit 08d1ec36de
93 changed files with 300 additions and 307 deletions

View File

@@ -138,7 +138,7 @@ void main() {
group('ByValueKey', () {
test('restricts value types', () async {
expect(() => find.byValueKey(null),
throwsA(const isInstanceOf<DriverError>()));
throwsA(const TypeMatcher<DriverError>()));
});
test('finds by ValueKey', () async {
@@ -158,7 +158,7 @@ void main() {
group('tap', () {
test('requires a target reference', () async {
expect(driver.tap(null), throwsA(const isInstanceOf<DriverError>()));
expect(driver.tap(null), throwsA(const TypeMatcher<DriverError>()));
});
test('sends the tap command', () async {
@@ -177,7 +177,7 @@ void main() {
group('getText', () {
test('requires a target reference', () async {
expect(driver.getText(null), throwsA(const isInstanceOf<DriverError>()));
expect(driver.getText(null), throwsA(const TypeMatcher<DriverError>()));
});
test('sends the getText command', () async {
@@ -200,7 +200,7 @@ void main() {
group('waitFor', () {
test('requires a target reference', () async {
expect(driver.waitFor(null), throwsA(const isInstanceOf<DriverError>()));
expect(driver.waitFor(null), throwsA(const TypeMatcher<DriverError>()));
});
test('sends the waitFor command', () async {