Swift format enforce isEmpty rule (#5843)

* swift format enforce isEmpty rule

* revert scheme

* use trailing closure
This commit is contained in:
Mauro
2026-07-06 15:39:16 +02:00
committed by GitHub
parent d2ef1e71f9
commit 0a77ba6c90
27 changed files with 60 additions and 60 deletions
@@ -150,7 +150,7 @@ class AuthenticationFlowCoordinatorUITests: XCTestCase {
XCTFail("Failed to present the web authentication session.")
}
if app.alerts.count > 0 {
if !app.alerts.isEmpty {
app.alerts.firstMatch.buttons["OK"].tap()
}
}