mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 08:42:51 +00:00
Split one-line defers to multiple lines, matching our preferred style.
This commit is contained in:
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")
|
||||
|
||||
|
||||
Reference in new issue
Block a user