Skip to content

Commit 1353f59

Browse files
authored
bump web5 spec (#49)
* bump web5 spec * fix test
1 parent 8e83a43 commit 1353f59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Web5TestVectors/web5-spec

Tests/Web5Tests/Credentials/PresentationExchangeTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class PresentationExchangeTests: XCTestCase {
171171
XCTAssertNotNil(submission.id)
172172
XCTAssertEqual(submission.definitionID, pd.id)
173173
XCTAssertEqual(submission.descriptorMap.count, 2)
174-
XCTAssertEqual(submission.descriptorMap[0].path, "$.verifiableCredential[0]")
174+
XCTAssertTrue(submission.descriptorMap[0].path.starts(with: "$.verifiableCredential"))
175175
}
176176

177177
func test_throwsOnCreatePresentationFromInvalidCredentials() throws {

0 commit comments

Comments
 (0)