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 f67ac4e commit 6baeabbCopy full SHA for 6baeabb
WorkflowSwiftUI/Tests/PreferredContentSizeTests.swift
@@ -8,11 +8,7 @@ import XCTest
8
final class PreferredContentSizeTests: XCTestCase {
9
func test_preferredContentSize() throws {
10
// 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
- }
+ try XCTSkipUnless(UIApplication.shared.delegate != nil)
16
17
let maxWidth: CGFloat = 50
18
let maxHeight: CGFloat = 50
0 commit comments