Skip to content

Commit af9b1b3

Browse files
committed
update tests
1 parent c65aff0 commit af9b1b3

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

Tests/BuildTests/BuildPlanTests.swift

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,13 +1980,21 @@ final class BuildPlanTests: XCTestCase {
19801980

19811981
// Swift module transitively importing cxx module
19821982
do {
1983-
try XCTAssertMatch(
1983+
try XCTAssertNoMatch(
19841984
result.target(for: "swiftLib2").swiftTarget().compileArguments(),
1985-
[.anySequence, "-cxx-interoperability-mode=default", "-Xcc", "-std=c++20", .anySequence]
1985+
[.anySequence, "-cxx-interoperability-mode=default", .anySequence]
19861986
)
1987-
try XCTAssertMatch(
1987+
try XCTAssertNoMatch(
1988+
result.target(for: "swiftLib2").swiftTarget().compileArguments(),
1989+
[.anySequence, "-Xcc", "-std=c++20", .anySequence]
1990+
)
1991+
try XCTAssertNoMatch(
19881992
result.target(for: "swiftLib2").swiftTarget().symbolGraphExtractArguments(),
1989-
[.anySequence, "-cxx-interoperability-mode=default", "-Xcc", "-std=c++20", .anySequence]
1993+
[.anySequence, "-cxx-interoperability-mode=default", .anySequence]
1994+
)
1995+
try XCTAssertNoMatch(
1996+
result.target(for: "swiftLib2").swiftTarget().symbolGraphExtractArguments(),
1997+
[.anySequence, "-Xcc", "-std=c++20", .anySequence]
19901998
)
19911999
}
19922000
}

0 commit comments

Comments
 (0)