You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
t.Run("ok - parse a DID URL", func(t*testing.T) {
id, err:=ParseDID("did:nuts:123/path#fragment")
assert.NoError(t, err)
assert.Equal(t, "did:nuts:123/path#fragment", id.String())
})
Get this instead:
=== RUN TestParseDIDURL/ok_-_parse_a_DID_URL
did_test.go:86:
Error Trace: did_test.go:86
Error: Received unexpected error:
character is not allowed in path
Test: TestParseDIDURL/ok_-_parse_a_DID_URL
It seems that this fails when there is a path present, but no query between path and the fragment.
The text was updated successfully, but these errors were encountered:
Expect this to succeed:
Get this instead:
It seems that this fails when there is a path present, but no query between path and the fragment.
The text was updated successfully, but these errors were encountered: