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

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe committed Jun 20, 2024
1 parent f54f15a commit 7accb98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions credential/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func TestCredential(t *testing.T) {

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

Check warning on line 75 in credential/builder_test.go

View workflow job for this annotation

GitHub Actions / lint

empty-lines: extra empty line at the start of a block (revive)

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

Expand Down Expand Up @@ -102,7 +102,7 @@ func TestCredentialBuilder(t *testing.T) {

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

// set id
id := "p"
err = builder.SetID(id)
Expand Down
2 changes: 1 addition & 1 deletion did/peer/peer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func makeSamplePeerDIDDocument() *did.Document {
PublicKeyMultibase: "z6LSbysY2xFMRpGMhb7tFTLMpeuPRaqaWM1yECx2AtzE3KCc",
},
},
Services: []did.Service{did.Service{
Services: []did.Service{{
ID: "did:peer:2.Ez6LSbysY2xFMRpGMhb7tFTLMpeuPRaqaWM1yECx2AtzE3KCc.Vz6MkqRYqQiSgvZQdnBytw86Qbs2ZWUkGv22od935YF4s8M7V.Vz6MkgoLTnTypo3tDRwCkZXSccTPHRLhF4ZnjhueYAFpEX6vg.SeyJ0IjoiZG0iLCJzIjoiaHR0cHM6Ly9leGFtcGxlLmNvbS9lbmRwb2ludCIsInIiOlsiZGlkOmV4YW1wbGU6c29tZW1lZGlhdG9yI3NvbWVrZXkiXSwiYSI6WyJkaWRjb21tL3YyIiwiZGlkY29tbS9haXAyO2Vudj1yZmM1ODciXX0#didcommmessaging-0",
Type: "DIDCommMessaging",
ServiceEndpoint: "https://example.com/endpoint",
Expand Down

0 comments on commit 7accb98

Please sign in to comment.