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

@@ -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>()));
});
});
}

View File

@@ -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 {