Skip to content

Commit 75916ca

Browse files
author
Nathan Hawes
authored
Merge pull request #2654 from nathawes/fixup-test-for-parser-diagnostics-change
[test] Update PD5LoadingTests.swift for an upcoming parser fix that suppressed a diagnostic it was checking for.
2 parents eec7a3f + 94f8fa4 commit 75916ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/PackageLoadingTests/PD5LoadingTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ class PackageDescription5LoadingTests: PackageDescriptionLoadingTests {
328328
packageKind: .local
329329
)
330330
} catch ManifestParseError.invalidManifestFormat(let error, let diagnosticFile) {
331-
XCTAssertMatch(error, .contains("expected \')\' in expression list"))
331+
XCTAssertMatch(error, .contains("expected expression in container literal"))
332332
let contents = try localFileSystem.readFileContents(diagnosticFile!)
333333
XCTAssertNotNil(contents)
334334
}

0 commit comments

Comments
 (0)