Unit Tests migration to swift 6.2 (#5781)

This commit is contained in:
Mauro
2026-06-24 12:39:35 +02:00
committed by GitHub
parent c5cf9e2fac
commit c93d6e3265
20 changed files with 99 additions and 90 deletions
+2 -2
View File
@@ -160,7 +160,7 @@ struct UserPreferenceTests {
}
}
private struct TestPreferences {
private nonisolated struct TestPreferences {
@UserPreference
var volatileVar: String?
@@ -190,7 +190,7 @@ private struct CodableTestType: Equatable, Codable {
let b: [Int]
}
private struct TestsKey: PreferenceKeyable, RawRepresentable {
private nonisolated struct TestsKey: PreferenceKeyable, RawRepresentable {
static let testKey = Self(rawValue: "testKey")
static let key1 = Self(rawValue: "foo.volatile")
static let key2 = Self(rawValue: "foo.plist")