mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
rustfmt some tests
This commit is contained in:
@@ -45,4 +45,3 @@ fn test_seq_wrong_arg() {
|
||||
fn test_zero_step() {
|
||||
new_ucmd!().args(&["10", "0", "32"]).fails();
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user