frame tests: tuple order
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (pull_request) Successful in 5m7s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (pull_request) Successful in 4m47s

This commit is contained in:
Meta Vens 2026-11-28 09:34:46 +01:00
commit 43f57fd545

View file

@ -439,13 +439,13 @@ fn the_last_good_frame_is_cleared_by_a_delete_and_a_switch_and_kept_through_a_fr
// The tombstone keeps the version: the same document again, and a different one at it, change nothing shown.
state.put(&good.provider_id, &good);
let replay = run(&mut two, &mut state, input(at, 1.0));
assert_eq!((replay.commands, codes(&replay)), (vec![], vec![]));
assert_eq!((codes(&replay), replay.commands), (vec![], vec![]));
state.put(&good.provider_id, &say(1, "other"));
let refused = run(&mut two, &mut state, input(at, 1.0));
assert_eq!((refused.commands, codes(&refused)), (vec![], vec![Code::StaleVersionIgnored]));
assert_eq!((codes(&refused), refused.commands), (vec![Code::StaleVersionIgnored], vec![]));
state.put(&good.provider_id, &wide(2));
let out = run(&mut two, &mut state, input(at, 1.0));
assert_eq!((out.commands, codes(&out)), (vec![], vec![Code::LayoutOutOfRange]));
assert_eq!((codes(&out), out.commands), (vec![Code::LayoutOutOfRange], vec![]));
// Cleared by a switch.
let other = {
@ -461,7 +461,7 @@ fn the_last_good_frame_is_cleared_by_a_delete_and_a_switch_and_kept_through_a_fr
run(&mut three, &mut state, input(at, 1.0));
show(&mut three, &other);
let switched = run(&mut three, &mut state, input(at, 1.0));
assert_eq!((switched.commands, codes(&switched)), (vec![], vec![Code::LayoutOutOfRange]));
assert_eq!((codes(&switched), switched.commands), (vec![Code::LayoutOutOfRange], vec![]));
}
#[test]