mirror of
https://github.com/dathere/ckanaction.git
synced 2025-12-27 21:27:01 +00:00
lint: cargo fmt + cargo clippy
This commit is contained in:
parent
809948b8f4
commit
beb267d5b5
2 changed files with 43 additions and 37 deletions
|
|
@ -19,7 +19,13 @@ mod tests {
|
|||
let ckan = get_ckan_builder().await;
|
||||
let response = ckan.status_show().await?;
|
||||
assert!(response.is_object());
|
||||
let success = response.as_object().unwrap().get("success").unwrap().as_bool().unwrap();
|
||||
let success = response
|
||||
.as_object()
|
||||
.unwrap()
|
||||
.get("success")
|
||||
.unwrap()
|
||||
.as_bool()
|
||||
.unwrap();
|
||||
assert!(success);
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue