File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ final class TestCommandTests: CommandsTestCase {
276
276
}
277
277
278
278
func testBasicSwiftTestingIntegration( ) async throws {
279
- #if !canImport(Testing )
279
+ #if !canImport(TestingDisabled )
280
280
try XCTSkipUnless (
281
281
nil != Environment . current [ " SWIFT_PM_SWIFT_TESTING_TESTS_ENABLED " ] ,
282
282
" Skipping \( #function) because swift-testing tests are not explicitly enabled "
@@ -292,7 +292,7 @@ final class TestCommandTests: CommandsTestCase {
292
292
}
293
293
294
294
func testBasicSwiftTestingIntegration_ExperimentalFlag( ) async throws {
295
- #if !canImport(Testing )
295
+ #if !canImport(TestingDisabled )
296
296
try XCTSkipUnless (
297
297
nil != Environment . current [ " SWIFT_PM_SWIFT_TESTING_TESTS_ENABLED " ] ,
298
298
" Skipping \( #function) because swift-testing tests are not explicitly enabled "
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ final class InitTests: XCTestCase {
182
182
XCTAssertMatch ( testFileContents, . contains( #"@Test func example() async throws"# ) )
183
183
XCTAssertNoMatch ( testFileContents, . contains( " func testExample() throws " ) )
184
184
185
- #if canImport(Testing )
185
+ #if canImport(TestingDisabled )
186
186
// Try building it
187
187
await XCTAssertBuilds ( path)
188
188
let triple = try UserToolchain . default. targetTriple
@@ -219,7 +219,7 @@ final class InitTests: XCTestCase {
219
219
XCTAssertMatch ( testFileContents, . contains( #"@Test func example() async throws"# ) )
220
220
XCTAssertMatch ( testFileContents, . contains( " func testExample() throws " ) )
221
221
222
- #if canImport(Testing )
222
+ #if canImport(TestingDisabled )
223
223
// Try building it
224
224
await XCTAssertBuilds ( path)
225
225
let triple = try UserToolchain . default. targetTriple
@@ -255,7 +255,7 @@ final class InitTests: XCTestCase {
255
255
256
256
XCTAssertNoSuchPath ( path. appending ( " Tests " ) )
257
257
258
- #if canImport(Testing )
258
+ #if canImport(TestingDisabled )
259
259
// Try building it
260
260
await XCTAssertBuilds ( path)
261
261
let triple = try UserToolchain . default. targetTriple
You can’t perform that action at this time.
0 commit comments