thing-core(tests): fix test types in input/tests.rs and frame.rs
This commit is contained in:
parent
902120f67e
commit
555e058fe6
2 changed files with 2 additions and 2 deletions
|
|
@ -396,7 +396,7 @@ mod tests {
|
|||
let entry = Entry {
|
||||
address: addr.clone(),
|
||||
record: Record::State {
|
||||
schema: addr.schema,
|
||||
schema: addr.schema.clone(),
|
||||
value: StateValue::Record(vec![(field.into(), StateValue::Bool(value))]),
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1207,7 +1207,7 @@ fn session_overlay_skips_focus_order_hits_rows_without_blurring_and_light_dismis
|
|||
assert!(rig.input.session().is_none(), "{mode:?}");
|
||||
assert_eq!(rig.input.focus().node(), Some(&nid("pick")), "{mode:?}: focus stays on owner");
|
||||
assert_eq!(commands_of(&rig.minted()), ["choose"], "{mode:?}");
|
||||
assert_eq!(rig.draft("pick"), Some(&InputValue::Choice(ChoiceValue { value: "b".into() })), "{mode:?}");
|
||||
assert_eq!(rig.draft("pick"), Some(InputValue::Choice(ChoiceValue { value: "b".into() })), "{mode:?}");
|
||||
|
||||
// Re-open session: clicking outside (on blank background) light-dismisses and clears focus.
|
||||
rig.input.open_session(select_session("pick"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue