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_parameters
- multiline_parameters_brackets
# - multiple_closures_with_trailing_closure
- multiple_closures_with_trailing_closure
# - nesting
- nimble_operator
# - no_extension_access_modifier

View file

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