tests: remove unused binding and dead helper (clippy)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Eureka 2026-11-17 01:55:43 +00:00
commit c431aad9c9
2 changed files with 1 additions and 6 deletions

View file

@ -663,7 +663,6 @@ fn an_import_never_cites_or_resolves_a_follow_up_the_receiver_wrote() {
let native = follow_up("FU-N", r(K::Question, &q1));
let native_ref = r(K::FollowUp, &pipeline_key(&native).unwrap());
committed(admit(&mut recv, vec![native]));
let before = head(&recv);
// An imported record that withdraws the receiver's own follow-up mixes a replay into her work.
assert_eq!(
refusal(import_from_kiko(&mut recv, vec![resolution(native_ref.clone(), ResolutionOutcome::Withdrawn { reason: "x".into() })])),

View file

@ -22,7 +22,7 @@ use huginn_mind::desk_wire::{
ForkList, ForkOption, ForkRecord, ForkRefusal, ForkRefusalCode, ForkRef, ListSchema, ListStatus, RecordSchema,
};
use huginn_mind::envelope::{OperationFailure, decode_desk_request, encode_desk_failure, encode_desk_request, encode_desk_response};
use huginn_mind::eureka_pipeline::{AccountId, DeskAuthority, Short, Slug};
use huginn_mind::eureka_pipeline::{AccountId, DeskAuthority, Slug};
const RUNTIME: &str = "huginn-eureka";
/// Account ids as Bifrost sends them: `UserAccount.Id` rendered lowercase D-format
@ -38,10 +38,6 @@ const NON_DECIDER: &str = "9e8d7c6b-5a49-4382-b1a0-f9e8d7c6b5a4";
/// synthetic: the hash is CultLib's sample digest, not this question's.
const FORK: &str = "eureka-substrate:question:desk-listing-authority";
fn s(text: &str) -> Short {
Short(text.into())
}
fn a(text: &str) -> AccountId {
AccountId(text.into())
}