mirror of
https://github.com/block/buzz.git
synced 2026-11-12 12:22:06 +00:00
66995b1fc made empty relay_url valid in the same commit that hardened
the boot loop, so its regression test never reaches the `Err` arm: both
records take `Ok(true)`, and restoring `?` would leave it green.
Add a three-record test with a genuinely unpublishable middle record
(nsec that does not derive its pubkey): reconcile must return Ok(2),
the first and last records get 30177 + 30179, and the bad coordinate
gets neither. Verified red with `?` restored in reconcile.rs, green
with the `match`.
Co-authored-by: Meli <5aaa86bce934fc3445fc254aab560a40923f10252f92107e665073dede0e04d3@buzz.block.builderlab.xyz>
Signed-off-by: Meli <5aaa86bce934fc3445fc254aab560a40923f10252f92107e665073dede0e04d3@buzz.block.builderlab.xyz>