Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis committed Sep 4, 2024
1 parent 4bcf835 commit c350818
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Tests/IssueReportingTests/XCTestTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ final class XCTestTests: XCTestCase {
}

func testTestContext() {
XCTAssertEqual(TestContext.current, .xcTest)
switch TestContext.current {
case .xcTest:
XCTAssert(true)
default:
XCTFail()
}
}
#endif

Expand Down

0 comments on commit c350818

Please sign in to comment.