Skip to content

Commit 6731928

Browse files
author
Alexey Naumov
committed
Fix tests for macos
1 parent 37b3312 commit 6731928

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/ViewInspectorTests/CustomInspectableTests.swift

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

5+
#if os(iOS) || os(tvOS)
56
@available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
67
final class CustomInspectableTests: XCTestCase {
78

@@ -33,3 +34,4 @@ private struct CustomViewRepresentable: UIViewRepresentable, CustomInspectable {
3334

3435
func updateUIView(_ view: UIView, context: Context) { }
3536
}
37+
#endif

0 commit comments

Comments
 (0)