mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-05 17:53:29 +02:00
Elimintate an itermediate variable
This commit is contained in:
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user