Skip to content

Commit 6baeabb

Browse files
committed
just skip content size tests for now
1 parent f67ac4e commit 6baeabb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

WorkflowSwiftUI/Tests/PreferredContentSizeTests.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ import XCTest
88
final class PreferredContentSizeTests: XCTestCase {
99
func test_preferredContentSize() throws {
1010
// FIXME: actually solve whatever the problem is here
11-
let osMajorVersion = ProcessInfo.processInfo.operatingSystemVersion.majorVersion
12-
guard osMajorVersion < 18 else {
13-
try XCTSkipIf(true, "Intrinsic content size does not update unless hosted in an actual app on iOS 18")
14-
return
15-
}
11+
try XCTSkipUnless(UIApplication.shared.delegate != nil)
1612

1713
let maxWidth: CGFloat = 50
1814
let maxHeight: CGFloat = 50

0 commit comments

Comments
 (0)