mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
cut: simplify test by removing assert_eq! calls
This commit is contained in:
parent
2f82853bfa
commit
9aca24365f
1 changed files with 3 additions and 4 deletions
|
@ -293,12 +293,11 @@ fn test_newline_delimited() {
|
|||
|
||||
#[test]
|
||||
fn test_multiple() {
|
||||
let result = new_ucmd!()
|
||||
new_ucmd!()
|
||||
.args(&["-f2", "-d:", "-d="])
|
||||
.pipe_in("a=b\n")
|
||||
.succeeds();
|
||||
assert_eq!(result.stdout_str(), "b\n");
|
||||
assert_eq!(result.stderr_str(), "");
|
||||
.succeeds()
|
||||
.stdout_only("b\n");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue