Enable unnecessary_await_in_return lint (#77434)
This commit is contained in:
committed by
GitHub
parent
8a9042ba91
commit
cb867bbedc
@@ -377,7 +377,7 @@ void main() {
|
||||
'$gsutilCall -- stat $gsArchivePath': <ProcessResult>[ProcessResult(0, 0, '', '')],
|
||||
};
|
||||
processManager.fakeResults = calls;
|
||||
expect(() async => await publisher.publishArchive(false), throwsException);
|
||||
expect(() async => publisher.publishArchive(false), throwsException);
|
||||
processManager.verifyCalls(calls.keys.toList());
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user