Skip to content

Commit fa1e2b8

Browse files
committed
wip
1 parent 620132a commit fa1e2b8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Tests/ComposableArchitectureTests/ObservableTests.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import Combine
22
import ComposableArchitecture
33
import XCTest
44

5+
@available(iOS 17, macOS 14, tvOS 17, watchOS 10, *)
56
final class ObservableTests: BaseTCATestCase {
67
func testBasics() async {
78
var state = ChildState()
@@ -659,6 +660,7 @@ final class ObservableTests: BaseTCATestCase {
659660
}
660661
}
661662

663+
@available(iOS 17, macOS 14, tvOS 17, watchOS 10, *)
662664
@ObservableState
663665
private struct ChildState: Equatable, Identifiable {
664666
let id = UUID()
@@ -673,6 +675,7 @@ private struct ChildState: Equatable, Identifiable {
673675
self
674676
}
675677
}
678+
@available(iOS 17, macOS 14, tvOS 17, watchOS 10, *)
676679
@ObservableState
677680
private struct ParentState: Equatable {
678681
var child = ChildState()
@@ -689,6 +692,7 @@ private struct ParentState: Equatable {
689692
self.sibling = childCopy
690693
}
691694
}
695+
@available(iOS 17, macOS 14, tvOS 17, watchOS 10, *)
692696
@dynamicMemberLookup
693697
@CasePathable
694698
@ObservableState
@@ -697,6 +701,7 @@ private enum DestinationState: Equatable {
697701
case child2(ChildState)
698702
case inert(Int)
699703
}
704+
@available(iOS 17, macOS 14, tvOS 17, watchOS 10, *)
700705
@ObservableState
701706
private enum EnumState: Equatable {
702707
case count(Count)

0 commit comments

Comments
 (0)