mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-06 04:07:54 +00:00
Do various code cleanups.
This commit is contained in:
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
|
||||
}
|
||||
|
||||
}
|
||||
+1
-1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user