Enable SwiftLint rule 'multiple_closures_with_trailing_closure' and fix all violations

This commit is contained in:
Danny Moesch 2020-07-05 00:34:34 +02:00 committed by Mingshen Sun
parent 8828298afb
commit 2920acefbc
2 changed files with 4 additions and 5 deletions

View file

@ -102,7 +102,7 @@ whitelist_rules:
- multiline_literal_brackets - multiline_literal_brackets
- multiline_parameters - multiline_parameters
- multiline_parameters_brackets - multiline_parameters_brackets
# - multiple_closures_with_trailing_closure - multiple_closures_with_trailing_closure
# - nesting # - nesting
- nimble_operator - nimble_operator
# - no_extension_access_modifier # - no_extension_access_modifier

View file

@ -30,10 +30,9 @@ class PasswordStoreTest: XCTestCase {
options: cloneOptions, options: cloneOptions,
branchName: "master", branchName: "master",
transferProgressBlock: { _, _ in }, transferProgressBlock: { _, _ in },
checkoutProgressBlock: { _, _, _ in } checkoutProgressBlock: { _, _, _ in },
) { completion: { expectation.fulfill() }
expectation.fulfill() )
}
waitForExpectations(timeout: 3, handler: nil) waitForExpectations(timeout: 3, handler: nil)
[ [