Skip to content

Commit

Permalink
make the TestActor private
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaskollmer committed Jan 6, 2025
1 parent 7b31c4e commit 52ba03b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/SpeziFoundationTests/MainActorExecutionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ import SpeziFoundation
import XCTest


/// Internal helper actor to be able to have code run guaranteed off the main actor (by scheduling it onto a background queue)
@globalActor
actor TestActor: GlobalActor {
private actor TestActor: GlobalActor {
static let shared = TestActor()
let queue = DispatchQueue(label: "Queueeee") as! DispatchSerialQueue // swiftlint:disable:this force_cast
nonisolated var unownedExecutor: UnownedSerialExecutor {
Expand Down

0 comments on commit 52ba03b

Please sign in to comment.