rustfmt some tests

This commit is contained in:
Sylvestre Ledru
2021-03-13 23:30:47 +01:00
parent 2158b2c5b4
commit 2c09556964
2 changed files with 2 additions and 10 deletions
-1
View File
@@ -45,4 +45,3 @@ fn test_seq_wrong_arg() {
fn test_zero_step() {
new_ucmd!().args(&["10", "0", "32"]).fails();
}
+2 -9
View File
@@ -5,14 +5,7 @@ use crate::common::util::*;
// utility that requires executing another program (kill, for instance)
#[test]
fn test_subcommand_retcode() {
new_ucmd!()
.arg("1")
.arg("true")
.succeeds();
new_ucmd!().arg("1").arg("true").succeeds();
new_ucmd!()
.arg("1")
.arg("false")
.run()
.status_code(1);
new_ucmd!().arg("1").arg("false").run().status_code(1);
}