Enable avoid_redundant_argument_values lint (#91409) (#91462)

This commit is contained in:
Ian Hickson
2021-10-08 09:25:14 -07:00
committed by GitHub
parent ac88d4ba5d
commit 61a0add286
667 changed files with 1694 additions and 3386 deletions

View File

@@ -193,6 +193,6 @@ void main() {
const Hash256(0xA8100AE6AA1940D0, 0xB663BB31CD466142, 0xEBBDBD5187131B92, 0xD93818987832EB89), // sha256("\xff")
const Hash256(0x155644D3F13D98BF, 0, 0, 0),
},
), exitCode: 0);
));
});
}

View File

@@ -266,7 +266,6 @@ void main() {
tempDir,
testRef,
Branch.dev,
strict: true,
processManager: processManager,
subprocessOutput: false,
platform: platform,
@@ -495,7 +494,7 @@ void main() {
'$gsutilCall -- stat $gsArchivePath': <ProcessResult>[ProcessResult(0, 0, '', '')],
};
processManager.addCommands(convertResults(calls));
expect(() async => publisher.publishArchive(false), throwsException);
expect(() async => publisher.publishArchive(), throwsException);
});
test('publishArchive does not throw if forceUpload is true and artifact already exists on cloud storage', () async {