Skip to content

Commit 257baa7

Browse files
committed
style: wrap the scheduler fixture assertion
1 parent eb1612c commit 257baa7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎crates/domain/gfa-service/src/tests.rs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,10 @@ fn automatic_matches_resume_from_durable_turns_and_bad_records_do_not_block_the_
13961396
assert!(page.matches.is_empty());
13971397
assert_eq!(page.unavailable.len(), 1);
13981398
let page = run(service.pending_opponents(page.next.as_deref(), 1))?;
1399-
assert_eq!(page.matches.as_slice(), std::slice::from_ref(&first.match_id));
1399+
assert_eq!(
1400+
page.matches.as_slice(),
1401+
std::slice::from_ref(&first.match_id)
1402+
);
14001403
assert_eq!(run(service.advance_opponents(&first.match_id, 1))?, 1);
14011404
assert_eq!(
14021405
run(service.get_state(&first.match_id, Viewer::Player(0)))?.turn,

0 commit comments

Comments
 (0)