mind-body wake tests: a type alias for the held cases (clippy type_complexity)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6e19e1a4c8
commit
10077f186c
1 changed files with 2 additions and 1 deletions
|
|
@ -140,7 +140,8 @@ impl Rig {
|
|||
|
||||
#[test]
|
||||
fn with_the_brake_held_or_the_dial_absent_a_cycle_queries_nothing_admits_nothing_and_calls_no_unit() {
|
||||
let cases: [(&str, HeldReason, fn(&Rig)); 4] = [
|
||||
type Prepare = fn(&Rig);
|
||||
let cases: [(&str, HeldReason, Prepare); 4] = [
|
||||
("no store", HeldReason::BrakeAbsent, |_| {}),
|
||||
("brake held", HeldReason::BrakeHeld, |rig| {
|
||||
rig.release("1", 600, "5");
|
||||
|
|
|
|||
Loading…
Reference in a new issue