test(invocation): add command.Covers and subject consistency tests

Also improve the maintainability of the tests by a) providing a set of fixed Personas
and then generating a slew of valid delegation tokens, invalid delegation tokens
and proof-chains thereof.
This commit is contained in:
Steve Moyer
2024-11-19 14:35:46 -05:00
parent bb36d61d93
commit 1098e76cba
32 changed files with 891 additions and 295 deletions

1
go.mod
View File

@@ -3,6 +3,7 @@ module github.com/ucan-wg/go-ucan
go 1.23
require (
github.com/dave/jennifer v1.7.1
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0
github.com/ipfs/go-cid v0.4.1
github.com/ipld/go-ipld-prime v0.21.0