diff --git a/tests/cli.rs b/tests/cli.rs index ef8402c38819c52c82b3537b8ad42239de0d906e..536da9e3b740866ec132552f5666cb4a16c9079d 100644 --- a/tests/cli.rs +++ b/tests/cli.rs @@ -35,7 +35,8 @@ fn broken_tarantool() { let mut cmd = Command::cargo_bin("picodata").unwrap(); cmd.arg("run"); cmd.env("PATH", temp_path); - cmd.timeout(Duration::from_secs(1)).assert().failure().stderr(format!( + cmd.timeout(Duration::from_secs(1)); + cmd.assert().failure().stderr(format!( "{}/tarantool: {}\n", temp_path.display(), errno::Errno(libc::EACCES)