mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 05:52:23 -05:00
Elimintate an itermediate variable
This commit is contained in:
parent
60155294e9
commit
06e7216c83
1 changed files with 1 additions and 2 deletions
|
@ -7,8 +7,7 @@ use std::process::Command;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn runs_without_arguments() {
|
fn runs_without_arguments() {
|
||||||
let mut cmd = Command::cargo_bin("rustlings").unwrap();
|
Command::cargo_bin("rustlings").unwrap().assert().success();
|
||||||
cmd.assert().success();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Reference in a new issue