Roll engine to 0c119932c0d6cb30dafd75ec717d1eda76fd7651 (#18575)
This commit is contained in:
committed by
Florian Loitsch
parent
9e7e6e7c9b
commit
08d1ec36de
@@ -149,7 +149,7 @@ void main() {
|
||||
}
|
||||
|
||||
// Both views should be invalid as they were missing required fields.
|
||||
expect(failingFunction, throwsA(const isInstanceOf<RpcFormatError>()));
|
||||
expect(failingFunction, throwsA(const TypeMatcher<RpcFormatError>()));
|
||||
});
|
||||
|
||||
test('invalid flutter view missing ID', () async {
|
||||
@@ -187,7 +187,7 @@ void main() {
|
||||
}
|
||||
|
||||
// Both views should be invalid as they were missing required fields.
|
||||
expect(failingFunction, throwsA(const isInstanceOf<RpcFormatError>()));
|
||||
expect(failingFunction, throwsA(const TypeMatcher<RpcFormatError>()));
|
||||
});
|
||||
});
|
||||
|
||||
@@ -220,7 +220,7 @@ void main() {
|
||||
await vm.invokeRpc('somesillyfunction', timeout: timeoutTime);
|
||||
}
|
||||
|
||||
expect(failingFunction, throwsA(const isInstanceOf<TimeoutException>()));
|
||||
expect(failingFunction, throwsA(const TypeMatcher<TimeoutException>()));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ void main() {
|
||||
await runner.run('oihaw');
|
||||
}
|
||||
|
||||
expect(failingFunction, throwsA(const isInstanceOf<SshCommandError>()));
|
||||
expect(failingFunction, throwsA(const TypeMatcher<SshCommandError>()));
|
||||
});
|
||||
|
||||
test('verify correct args with config', () async {
|
||||
|
||||
Reference in New Issue
Block a user