Do various code cleanups.

This commit is contained in:
Brent Simmons committed 2025-11-17 21:56:42 -08:00
1 parent 4fa0b65d98
commit ff9b6a3dbe
3 files changed
+2 -3

No files matched your search

@@ -388,7 +388,7 @@ private extension FeedbinAccountDelegate {
}
}
@MainActor private func checkImportResult(opmlImportResultID: Int, completion: @escaping (Result<Void, Error>) -> Void) {
private func checkImportResult(opmlImportResultID: Int, completion: @escaping (Result<Void, Error>) -> Void) {
Task { @MainActor in
while true {
try? await Task.sleep(for: .seconds(15))
@@ -16,5 +16,4 @@ struct FeedbinImportResult: Codable, Sendable {
case importResultID = "id"
case complete
}
}
@@ -11,7 +11,7 @@ import XCTest
@MainActor final class AccountFeedbinFolderContentsSyncTest: XCTestCase {
@MainActor func testDownloadSync() async throws {
func testDownloadSync() async throws {
let testTransport = TestTransport()
testTransport.testFiles["https://api.feedbin.com/v2/tags.json"] = "JSON/tags_add.json"
testTransport.testFiles["https://api.feedbin.com/v2/subscriptions.json"] = "JSON/subscriptions_initial.json"