Skip to content

Commit ead9482

Browse files
committed
[Tests] NFC: Adjust a test improved by porting argument mismatches to new diagnostic framework
1 parent 5f459b4 commit ead9482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/PackageLoadingTests/PD4_2LoadingTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class PackageDescription4_2LoadingTests: XCTestCase {
131131
guard case let ManifestParseError.invalidManifestFormat(output, _) = error else {
132132
return XCTFail()
133133
}
134-
XCTAssertMatch(output, .and(.contains("expected element type"), .contains("SwiftVersion")))
134+
XCTAssertMatch(output, .and(.contains("expected argument type"), .contains("SwiftVersion")))
135135
}
136136

137137
// Check when Swift language versions is empty.

0 commit comments

Comments
 (0)