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

@@ -25,7 +25,7 @@ void main() {
expectAsync1((List<String> commandLine) async {
return processRunner.runProcess(commandLine);
})(<String>['this_executable_better_not_exist_2857632534321']),
throwsA(const isInstanceOf<ProcessRunnerException>()));
throwsA(const TypeMatcher<ProcessRunnerException>()));
try {
await processRunner.runProcess(<String>['this_executable_better_not_exist_2857632534321']);
} on ProcessRunnerException catch (e) {
@@ -62,7 +62,7 @@ void main() {
expectAsync1((List<String> commandLine) async {
return processRunner.runProcess(commandLine);
})(<String>['echo', 'test']),
throwsA(const isInstanceOf<ProcessRunnerException>()));
throwsA(const TypeMatcher<ProcessRunnerException>()));
});
});
group('ArchiveCreator for $platformName', () {
@@ -204,7 +204,7 @@ void main() {
};
processManager.fakeResults = calls;
expect(expectAsync0(creator.initializeRepo),
throwsA(const isInstanceOf<ProcessRunnerException>()));
throwsA(const TypeMatcher<ProcessRunnerException>()));
});
});