Skip to content
Snippets Groups Projects
Commit f7403530 authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

fix clippy

parent 42701400
No related branches found
No related tags found
1 merge request!210Resolve "Tests E2E fails but CI pass"
Pipeline #34717 passed
......@@ -558,6 +558,9 @@ async fn should_have_distance_ok(world: &mut DuniterWorld, who: String) -> Resul
.await?
{
Some((_, gdev::runtime_types::pallet_distance::types::DistanceStatus::Valid)) => Ok(()),
Some((_, gdev::runtime_types::pallet_distance::types::DistanceStatus::Invalid)) => {
Err(anyhow::anyhow!("invalid distance status").into())
}
Some((_, gdev::runtime_types::pallet_distance::types::DistanceStatus::Pending)) => {
Err(anyhow::anyhow!("pending distance status").into())
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment