We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36ad206 commit c023c8dCopy full SHA for c023c8d
Tests/OpenSwiftUITests/Core/Graph/GraphHostTests.swift
@@ -8,6 +8,7 @@ import Testing
8
struct GraphHostTests {
9
@Test
10
func setTimeTest() {
11
+ #if canImport(Darwin)
12
let graphHost = GraphHost(data: .init())
13
#expect(graphHost.data.time.seconds == 0.0)
14
@@ -17,10 +18,10 @@ struct GraphHostTests {
17
18
graphHost.setTime(Time.infinity)
19
#expect(graphHost.data.time.seconds == Time.infinity.seconds)
20
- #if canImport(QuartzCore)
21
let timeNow = Time.now
22
graphHost.setTime(timeNow)
23
#expect(graphHost.data.time.seconds == timeNow.seconds)
24
#endif
25
}
26
27
+
0 commit comments