diff options
| author | mo8it <mo8it@proton.me> | 2024-04-06 01:46:09 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-06 01:46:09 +0200 |
| commit | 06e7216c833f46299c0314bbab47f8df9fc355a3 (patch) | |
| tree | 54fc32a04b72dd6981b2684a1e3d3884bdfa6452 /tests/integration_tests.rs | |
| parent | 60155294e94acd661e4fe20cf8b72412167c772d (diff) | |
Elimintate an itermediate variable
Diffstat (limited to 'tests/integration_tests.rs')
| -rw-r--r-- | tests/integration_tests.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index d853521..ccdd910 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -7,8 +7,7 @@ use std::process::Command; #[test] fn runs_without_arguments() { - let mut cmd = Command::cargo_bin("rustlings").unwrap(); - cmd.assert().success(); + Command::cargo_bin("rustlings").unwrap().assert().success(); } #[test] |
