Skip to content

Commit 511f2af

Browse files
committed
style: cargo fmt
1 parent a335082 commit 511f2af

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

src/test_commands.rs

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2072,9 +2072,12 @@ async fn test_apm_troubleshooting_list() {
20722072
.create_async()
20732073
.await;
20742074

2075-
let result =
2076-
crate::commands::apm::troubleshooting_list(&cfg, "my-host".into(), None).await;
2077-
assert!(result.is_ok(), "troubleshooting list failed: {:?}", result.err());
2075+
let result = crate::commands::apm::troubleshooting_list(&cfg, "my-host".into(), None).await;
2076+
assert!(
2077+
result.is_ok(),
2078+
"troubleshooting list failed: {:?}",
2079+
result.err()
2080+
);
20782081
mock.assert_async().await;
20792082
cleanup_env();
20802083
}
@@ -2096,12 +2099,8 @@ async fn test_apm_troubleshooting_list_with_timeframe() {
20962099
.create_async()
20972100
.await;
20982101

2099-
let result = crate::commands::apm::troubleshooting_list(
2100-
&cfg,
2101-
"my-host".into(),
2102-
Some("4h".into()),
2103-
)
2104-
.await;
2102+
let result =
2103+
crate::commands::apm::troubleshooting_list(&cfg, "my-host".into(), Some("4h".into())).await;
21052104
assert!(
21062105
result.is_ok(),
21072106
"troubleshooting list with timeframe failed: {:?}",

0 commit comments

Comments
 (0)