Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/golang.org/x/text-0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
decentralgabe authored Jun 20, 2024
2 parents 126f2cf + 73f1a3f commit 4e7837c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion credential/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ func NewVerifiableCredentialBuilder(idValue IDValue) VerifiableCredentialBuilder
},
}
return vcb

}

// Build attempts to turn a builder into a valid verifiable credential, doing some object model validation.
Expand Down
5 changes: 2 additions & 3 deletions credential/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ func TestCredential(t *testing.T) {
assert.EqualValues(t, knownCred, *credential)
}

// Exercise all builder methods
// TestCredentialBuilder Exercises all builder methods
func TestCredentialBuilder(t *testing.T) {

builder := NewVerifiableCredentialBuilder(EmptyIDValue)
assert.Empty(t, builder.ID)

Expand All @@ -100,7 +99,7 @@ func TestCredentialBuilder(t *testing.T) {
err = builder.AddContext("https://www.w3.org/2018/credentials/examples/v1")
assert.NoError(t, err)

//default id is not empty
// default id is not empty
assert.NotEmpty(t, builder.ID)

// set id
Expand Down

0 comments on commit 4e7837c

Please sign in to comment.