diff --git a/Tests/SwiftUIFormattedTextTests/SwiftUIFormattedTextTests.swift b/Tests/SwiftUIFormattedTextTests/SwiftUIFormattedTextTests.swift index 8beba63..dd17b47 100644 --- a/Tests/SwiftUIFormattedTextTests/SwiftUIFormattedTextTests.swift +++ b/Tests/SwiftUIFormattedTextTests/SwiftUIFormattedTextTests.swift @@ -1,15 +1,7 @@ import XCTest @testable import SwiftUIFormattedText - +@available(OSX 10.15, *) +@available(iOS 13.0, *) final class SwiftUIFormattedTextTests: XCTestCase { - func testExample() { - // This is an example of a functional test case. - // Use XCTAssert and related functions to verify your tests produce the correct - // results. - XCTAssertEqual(SwiftUIFormattedText().text, "Hello, World!") - } - static var allTests = [ - ("testExample", testExample), - ] } diff --git a/Tests/SwiftUIFormattedTextTests/XCTestManifests.swift b/Tests/SwiftUIFormattedTextTests/XCTestManifests.swift index f65877f..1a28e18 100644 --- a/Tests/SwiftUIFormattedTextTests/XCTestManifests.swift +++ b/Tests/SwiftUIFormattedTextTests/XCTestManifests.swift @@ -1,9 +1,9 @@ import XCTest -#if !os(macOS) +#if false public func allTests() -> [XCTestCaseEntry] { return [ testCase(SwiftUIFormattedTextTests.allTests), ] } -#endif \ No newline at end of file +#endif