Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
Fix test
  • Loading branch information
liuchengxu committed Sep 26, 2021
commit cb8b8dfcb0c9a2a7214bb37bd4cd64fadd4154b9
5 changes: 4 additions & 1 deletion client/service/test/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,10 @@ fn best_containing_on_longest_chain_with_multiple_forks() {
a4.hash(),
block_on(longest_chain_select.finality_target(a4.hash(), Some(4))).unwrap()
);
assert_eq!(None, block_on(longest_chain_select.finality_target(a5.hash(), Some(4))).unwrap());
assert_eq!(
a5.hash(),
block_on(longest_chain_select.finality_target(a5.hash(), Some(4))).unwrap()
);
assert_eq!(
b4.hash(),
block_on(longest_chain_select.finality_target(b2.hash(), Some(4))).unwrap()
Expand Down