Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Tests/CommandsTests/TestCommandTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ final class TestCommandTests: CommandsTestCase {
}

func testBasicSwiftTestingIntegration() async throws {
#if !canImport(Testing)
#if !canImport(TestingDisabled)
try XCTSkipUnless(
nil != Environment.current["SWIFT_PM_SWIFT_TESTING_TESTS_ENABLED"],
"Skipping \(#function) because swift-testing tests are not explicitly enabled"
Expand All @@ -292,7 +292,7 @@ final class TestCommandTests: CommandsTestCase {
}

func testBasicSwiftTestingIntegration_ExperimentalFlag() async throws {
#if !canImport(Testing)
#if !canImport(TestingDisabled)
try XCTSkipUnless(
nil != Environment.current["SWIFT_PM_SWIFT_TESTING_TESTS_ENABLED"],
"Skipping \(#function) because swift-testing tests are not explicitly enabled"
Expand Down
6 changes: 3 additions & 3 deletions Tests/WorkspaceTests/InitTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ final class InitTests: XCTestCase {
XCTAssertMatch(testFileContents, .contains(#"@Test func example() async throws"#))
XCTAssertNoMatch(testFileContents, .contains("func testExample() throws"))

#if canImport(Testing)
#if canImport(TestingDisabled)
// Try building it
await XCTAssertBuilds(path)
let triple = try UserToolchain.default.targetTriple
Expand Down Expand Up @@ -219,7 +219,7 @@ final class InitTests: XCTestCase {
XCTAssertMatch(testFileContents, .contains(#"@Test func example() async throws"#))
XCTAssertMatch(testFileContents, .contains("func testExample() throws"))

#if canImport(Testing)
#if canImport(TestingDisabled)
// Try building it
await XCTAssertBuilds(path)
let triple = try UserToolchain.default.targetTriple
Expand Down Expand Up @@ -255,7 +255,7 @@ final class InitTests: XCTestCase {

XCTAssertNoSuchPath(path.appending("Tests"))

#if canImport(Testing)
#if canImport(TestingDisabled)
// Try building it
await XCTAssertBuilds(path)
let triple = try UserToolchain.default.targetTriple
Expand Down