Skip to content

Commit

Permalink
Fix tests for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Naumov committed Jan 21, 2024
1 parent 37b3312 commit 6731928
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/ViewInspectorTests/CustomInspectableTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import XCTest
import SwiftUI
@testable import ViewInspector

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

Expand Down Expand Up @@ -33,3 +34,4 @@ private struct CustomViewRepresentable: UIViewRepresentable, CustomInspectable {

func updateUIView(_ view: UIView, context: Context) { }
}
#endif

0 comments on commit 6731928

Please sign in to comment.