forked from Rust-related/rustlings
Elimintate an itermediate variable
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user