fixes for Swift 6 and threading concerns
This commit is contained in:
@@ -10,6 +10,7 @@ import Foundation
|
||||
|
||||
// MARK: - OSCCodec round-trip
|
||||
|
||||
@MainActor
|
||||
@Suite("OSCCodec")
|
||||
struct OSCCodecTests {
|
||||
|
||||
@@ -158,6 +159,7 @@ struct OSCCodecTests {
|
||||
|
||||
// MARK: - Glob pattern matching
|
||||
|
||||
@MainActor
|
||||
@Suite("OSCAddressPatternMatch")
|
||||
struct OSCAddressPatternMatchTests {
|
||||
|
||||
@@ -218,6 +220,7 @@ struct OSCAddressPatternMatchTests {
|
||||
|
||||
// MARK: - Handler registration
|
||||
|
||||
@MainActor
|
||||
@Suite("OSCServer handlers")
|
||||
struct OSCServerHandlerTests {
|
||||
|
||||
@@ -259,6 +262,7 @@ private let handlerPropagationDelay: UInt64 = 50_000_000 // 50 ms — time for a
|
||||
|
||||
// MARK: - LyrebirdMessageContext
|
||||
|
||||
@MainActor
|
||||
@Suite("LyrebirdMessageContext")
|
||||
struct LyrebirdMessageContextTests {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user