mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 02:51:08 +00:00
Mass replace ,); pattern (#3580)
This is an artifact left by rustfmt which is not dare to remove the comma being conservative.
This commit is contained in:
@@ -294,7 +294,7 @@ mod tests {
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
assert_eq!(ancestry, expected_ancestry,);
|
||||
assert_eq!(ancestry, expected_ancestry);
|
||||
});
|
||||
|
||||
let aux_fut = Box::pin(async move {
|
||||
@@ -367,7 +367,7 @@ mod tests {
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
assert_eq!(ancestry, expected_ancestry,);
|
||||
assert_eq!(ancestry, expected_ancestry);
|
||||
});
|
||||
|
||||
let aux_fut = Box::pin(async move {
|
||||
@@ -426,7 +426,7 @@ mod tests {
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
assert_eq!(ancestry, expected_ancestry,);
|
||||
assert_eq!(ancestry, expected_ancestry);
|
||||
});
|
||||
|
||||
futures::executor::block_on(test_fut);
|
||||
@@ -462,7 +462,7 @@ mod tests {
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
assert_eq!(ancestry, expected_ancestry,);
|
||||
assert_eq!(ancestry, expected_ancestry);
|
||||
});
|
||||
|
||||
futures::executor::block_on(test_fut);
|
||||
@@ -498,11 +498,11 @@ mod tests {
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
assert_eq!(after_finality, vec![(head_hash, head.clone())],);
|
||||
assert_eq!(after_finality, vec![(head_hash, head.clone())]);
|
||||
|
||||
assert_eq!(at_finality, Vec::new(),);
|
||||
assert_eq!(at_finality, Vec::new());
|
||||
|
||||
assert_eq!(before_finality, Vec::new(),);
|
||||
assert_eq!(before_finality, Vec::new());
|
||||
});
|
||||
|
||||
futures::executor::block_on(test_fut);
|
||||
|
||||
@@ -564,7 +564,7 @@ mod tests {
|
||||
window.cache_session_info_for_head(&mut ctx, hash, &header).await.unwrap();
|
||||
|
||||
assert_eq!(window.earliest_session, Some(session));
|
||||
assert_eq!(window.session_info, vec![dummy_session_info(session)],);
|
||||
assert_eq!(window.session_info, vec![dummy_session_info(session)]);
|
||||
})
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user