Split one-line defers to multiple lines, matching our preferred style.

This commit is contained in:
Brent Simmons committed 2026-11-25 14:12:47 -08:00
1 parent 6c41b0329e
commit ea09af7f95
1 file changed
+6 -2
@@ -41,7 +41,9 @@ import XCTest
func testSameUsernameOnDifferentServersIsAllowed() {
let existingAccount = TestAccountManager.shared.createAccount(type: .miniflux)
defer { TestAccountManager.shared.deleteAccount(existingAccount) }
defer {
TestAccountManager.shared.deleteAccount(existingAccount)
}
existingAccount.username = "admin"
existingAccount.endpointURL = URL(string: "https://first.miniflux.test")
@@ -51,7 +53,9 @@ import XCTest
func testDifferentUsernamesOnSameServerAreAllowed() {
let existingAccount = TestAccountManager.shared.createAccount(type: .miniflux)
defer { TestAccountManager.shared.deleteAccount(existingAccount) }
defer {
TestAccountManager.shared.deleteAccount(existingAccount)
}
existingAccount.username = "admin"
existingAccount.endpointURL = URL(string: "https://first.miniflux.test")