-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
982f3f3
commit d9685b9
Showing
2 changed files
with
4 additions
and
12 deletions.
There are no files selected for viewing
12 changes: 2 additions & 10 deletions
12
Tests/SwiftUIFormattedTextTests/SwiftUIFormattedTextTests.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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), | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import XCTest | ||
|
||
#if !os(macOS) | ||
#if false | ||
public func allTests() -> [XCTestCaseEntry] { | ||
return [ | ||
testCase(SwiftUIFormattedTextTests.allTests), | ||
] | ||
} | ||
#endif | ||
#endif |