Skip to content

Commit 62268ff

Browse files
authored
Merge pull request #2338 from xedin/diag-argument-mismatch
[Tests] NFC: Adjust a test improved by porting argument mismatches to…
2 parents 5f459b4 + ead9482 commit 62268ff

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)