upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/grasp-audit/src/specs/mod.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-11-05 14:43:30 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-11-05 14:45:02 +0000
commitb22cb23928ef799b0a5d362003d3084d2ab267b4 (patch)
tree26ae31724472e7d5d2b2f61df47e728c25f8d908 /grasp-audit/src/specs/mod.rs
parentebdf1779697e1b3d0fa0e1068af4340a16eabf2b (diff)
test: consolidate state announcement tests with GRASP-01 spec format
Refactor repository state announcement testing to better match GRASP-01 specification requirements: - Consolidate multiple refs testing into accept_valid_repo_state_announcement - Remove separate accept_state_announcement_multiple_refs test (redundant) - Update tag format to match spec: use git reference as tag kind Example: ["refs/heads/main", "<commit-sha>"] instead of ["r", "refs/heads/main", "<commit-sha>"] - Ensure repo announcement (kind 30617) is sent before state announcement - Test multiple branch refs (main, develop), tag refs (v1.0.0), and HEAD - Simplify test validation by removing redundant assertions This approach provides better spec compliance and reduces test redundancy while maintaining comprehensive coverage of multiple reference scenarios.
Diffstat (limited to 'grasp-audit/src/specs/mod.rs')
0 files changed, 0 insertions, 0 deletions