Roll engine to 0c119932c0d6cb30dafd75ec717d1eda76fd7651 (#18575)
This commit is contained in:
committed by
Florian Loitsch
parent
9e7e6e7c9b
commit
08d1ec36de
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user