]> Untitled Git - bdk/commit
test(core): consolidate `resolve_candidates` tests into one scenario test
author志宇 <hello@evanlinjin.me>
Tue, 23 Jun 2026 00:14:49 +0000 (00:14 +0000)
committer志宇 <hello@evanlinjin.me>
Tue, 23 Jun 2026 00:14:49 +0000 (00:14 +0000)
commit0ecd7687aa8a199bdd33eb81cd2128f27b0e457e
tree367d0994a50e17818dbec9cbaa8cb867d76dcc21
parent37ad249f5697d3161572aff70f3fa8d12f6a5a0c
test(core): consolidate `resolve_candidates` tests into one scenario test

Replace the six per-outcome tests with a single `Case`-table test that
runs each scenario through a fresh `BlockQueries`, asserting both the
`BlockCandidateResolution` and the outstanding heights afterward.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
crates/core/src/block_queries.rs