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
@@ -11,7 +11,7 @@ import Foundation
import SwiftUI
/// A mock of the SwiftUI `LayoutSubviews` struct
struct LayoutSubviewsMock: Equatable, RandomAccessCollection {
nonisolated struct LayoutSubviewsMock: Equatable, RandomAccessCollection {
var subviews: [LayoutSubviewMock]
/// A type that contains a subsequence of proxy values.
@@ -45,7 +45,7 @@ struct LayoutSubviewsMock: Equatable, RandomAccessCollection {
}
/// A mock of the SwiftUI `LayoutSubview` struct
struct LayoutSubviewMock: FlowLayoutSubview, Equatable {
nonisolated struct LayoutSubviewMock: FlowLayoutSubview, Equatable {
var size: CGSize
var layoutValues = [String: Any]()
var placedPositionCallback: (CGRect) -> Void