Skip to content

Commit bd6e770

Browse files
authored
ProcessInfoTests.testOperatingSystemIsAtLeastVersion should not run on visionOS (#894)
resolves: rdar://134731230
1 parent 9d9a537 commit bd6e770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/FoundationEssentialsTests/ProcessInfoTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ final class ProcessInfoTests : XCTestCase {
138138
OperatingSystemVersion(majorVersion: 1, minorVersion: 0, patchVersion: 0)
139139
),
140140
"ProcessInfo thinks we are on watchOS 1")
141-
#elseif os(macOS) || os(iOS)
141+
#elseif os(macOS) || (os(iOS) && !os(visionOS))
142142
XCTAssertTrue(ProcessInfo.processInfo
143143
.isOperatingSystemAtLeast(
144144
OperatingSystemVersion(majorVersion: 6, minorVersion: 12, patchVersion: 0)

0 commit comments

Comments
 (0)