Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Sep 28, 2021
1 parent bf07c57 commit e8222b1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions node/core/approval-voting/src/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ pub(crate) mod tests {
h,
RuntimeApiRequest::SessionIndexForChild(c_tx),
)) => {
assert_eq!(h, header.parent_hash);
assert_eq!(h, hash);
let _ = c_tx.send(Ok(session));
}
);
Expand Down Expand Up @@ -878,7 +878,7 @@ pub(crate) mod tests {
h,
RuntimeApiRequest::SessionIndexForChild(c_tx),
)) => {
assert_eq!(h, header.parent_hash);
assert_eq!(h, hash);
let _ = c_tx.send(Ok(session));
}
);
Expand Down Expand Up @@ -976,7 +976,7 @@ pub(crate) mod tests {
h,
RuntimeApiRequest::SessionIndexForChild(c_tx),
)) => {
assert_eq!(h, header.parent_hash);
assert_eq!(h, hash);
let _ = c_tx.send(Ok(session));
}
);
Expand Down Expand Up @@ -1081,7 +1081,7 @@ pub(crate) mod tests {
h,
RuntimeApiRequest::SessionIndexForChild(c_tx),
)) => {
assert_eq!(h, header.parent_hash);
assert_eq!(h, hash);
let _ = c_tx.send(Ok(session));
}
);
Expand Down Expand Up @@ -1236,7 +1236,7 @@ pub(crate) mod tests {
h,
RuntimeApiRequest::SessionIndexForChild(c_tx),
)) => {
assert_eq!(h, parent_hash.clone());
assert_eq!(h, hash);
let _ = c_tx.send(Ok(session));
}
);
Expand All @@ -1260,7 +1260,7 @@ pub(crate) mod tests {
h,
RuntimeApiRequest::SessionIndexForChild(c_tx),
)) => {
assert_eq!(h, parent_hash.clone());
assert_eq!(h, hash);
let _ = c_tx.send(Ok(session));
}
);
Expand Down

0 comments on commit e8222b1

Please sign in to comment.