Skip to content

Commit d0dba6d

Browse files
SebastienGllmtrvolosatovs
authored andcommitted
cargo fmt
1 parent 394c1b1 commit d0dba6d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

crates/test/src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,7 @@ pub async fn start_nats() -> anyhow::Result<(
9090
oneshot::Sender<()>,
9191
)> {
9292
// Check if nats-server is available
93-
let nats_server_check = Command::new("nats-server")
94-
.arg("--version")
95-
.output()
96-
.await;
93+
let nats_server_check = Command::new("nats-server").arg("--version").output().await;
9794
if let Err(e) = nats_server_check {
9895
let error_msg = if e.kind() == std::io::ErrorKind::NotFound {
9996
"nats-server is not installed or not in PATH"

0 commit comments

Comments
 (0)