@@ -19,7 +19,7 @@ import XCTest
1919final class TraitTests : XCTestCase {
2020 func testTraits_whenNoFlagPassed( ) async throws {
2121 try await fixture ( name: " Traits " ) { fixturePath in
22- let ( stdout, stderr ) = try await executeSwiftRun ( fixturePath. appending ( " Example " ) , " Example " )
22+ let ( stdout, _ ) = try await executeSwiftRun ( fixturePath. appending ( " Example " ) , " Example " )
2323 // We expect no warnings to be produced. Specifically no unused dependency warnings.
2424 // When fixed, GitHub issue #8131 should re-enable the below assert.
2525 // XCTAssertFalse(stderr.contains("warning:"))
@@ -38,7 +38,7 @@ final class TraitTests: XCTestCase {
3838
3939 func testTraits_whenTraitUnification( ) async throws {
4040 try await fixture ( name: " Traits " ) { fixturePath in
41- let ( stdout, stderr ) = try await executeSwiftRun ( fixturePath. appending ( " Example " ) , " Example " , extraArgs: [ " --traits " , " default,Package9,Package10 " ] )
41+ let ( stdout, _ ) = try await executeSwiftRun ( fixturePath. appending ( " Example " ) , " Example " , extraArgs: [ " --traits " , " default,Package9,Package10 " ] )
4242 // We expect no warnings to be produced. Specifically no unused dependency warnings.
4343 // When fixed, GitHub issue #8131 should re-enable the below assert.
4444 // XCTAssertFalse(stderr.contains("warning:"))
@@ -61,7 +61,7 @@ final class TraitTests: XCTestCase {
6161
6262 func testTraits_whenTraitUnification_whenSecondTraitNotEnabled( ) async throws {
6363 try await fixture ( name: " Traits " ) { fixturePath in
64- let ( stdout, stderr ) = try await executeSwiftRun ( fixturePath. appending ( " Example " ) , " Example " , extraArgs: [ " --traits " , " default,Package9 " ] )
64+ let ( stdout, _ ) = try await executeSwiftRun ( fixturePath. appending ( " Example " ) , " Example " , extraArgs: [ " --traits " , " default,Package9 " ] )
6565 // We expect no warnings to be produced. Specifically no unused dependency warnings.
6666 // When fixed, GitHub issue #8131 should re-enable the below assert.
6767 // XCTAssertFalse(stderr.contains("warning:"))
@@ -82,7 +82,7 @@ final class TraitTests: XCTestCase {
8282
8383 func testTraits_whenIndividualTraitsEnabled_andDefaultTraits( ) async throws {
8484 try await fixture ( name: " Traits " ) { fixturePath in
85- let ( stdout, stderr ) = try await executeSwiftRun ( fixturePath. appending ( " Example " ) , " Example " , extraArgs: [ " --traits " , " default,Package5,Package7,BuildCondition3 " ] )
85+ let ( stdout, _ ) = try await executeSwiftRun ( fixturePath. appending ( " Example " ) , " Example " , extraArgs: [ " --traits " , " default,Package5,Package7,BuildCondition3 " ] )
8686 // We expect no warnings to be produced. Specifically no unused dependency warnings.
8787 // When fixed, GitHub issue #8131 should re-enable the below assert.
8888 // XCTAssertFalse(stderr.contains("warning:"))
@@ -119,7 +119,7 @@ final class TraitTests: XCTestCase {
119119
120120 func testTraits_whenIndividualTraitsEnabled_andDefaultTraitsDisabled( ) async throws {
121121 try await fixture ( name: " Traits " ) { fixturePath in
122- let ( stdout, stderr ) = try await executeSwiftRun ( fixturePath. appending ( " Example " ) , " Example " , extraArgs: [ " --traits " , " Package5,Package7 " ] )
122+ let ( stdout, _ ) = try await executeSwiftRun ( fixturePath. appending ( " Example " ) , " Example " , extraArgs: [ " --traits " , " Package5,Package7 " ] )
123123 // We expect no warnings to be produced. Specifically no unused dependency warnings.
124124 // When fixed, GitHub issue #8131 should re-enable the below assert.
125125 // XCTAssertFalse(stderr.contains("warning:"))
@@ -137,7 +137,7 @@ final class TraitTests: XCTestCase {
137137
138138 func testTraits_whenAllTraitsEnabled( ) async throws {
139139 try await fixture ( name: " Traits " ) { fixturePath in
140- let ( stdout, stderr ) = try await executeSwiftRun ( fixturePath. appending ( " Example " ) , " Example " , extraArgs: [ " --enable-all-traits " ] )
140+ let ( stdout, _ ) = try await executeSwiftRun ( fixturePath. appending ( " Example " ) , " Example " , extraArgs: [ " --enable-all-traits " ] )
141141 // We expect no warnings to be produced. Specifically no unused dependency warnings.
142142 // GitHub issue #8131
143143 // XCTAssertFalse(stderr.contains("warning:"))
@@ -163,7 +163,7 @@ final class TraitTests: XCTestCase {
163163
164164 func testTraits_whenAllTraitsEnabled_andDefaultTraitsDisabled( ) async throws {
165165 try await fixture ( name: " Traits " ) { fixturePath in
166- let ( stdout, stderr ) = try await executeSwiftRun ( fixturePath. appending ( " Example " ) , " Example " , extraArgs: [ " --enable-all-traits " , " --disable-default-traits " ] )
166+ let ( stdout, _ ) = try await executeSwiftRun ( fixturePath. appending ( " Example " ) , " Example " , extraArgs: [ " --enable-all-traits " , " --disable-default-traits " ] )
167167 // We expect no warnings to be produced. Specifically no unused dependency warnings.
168168 // GitHub issue #8131
169169 // XCTAssertFalse(stderr.contains("warning:"))
0 commit comments