summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/integration_tests.rs3
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]