mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +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]
|
#[test]
|
||||||
fn test_multiple() {
|
fn test_multiple() {
|
||||||
let result = new_ucmd!()
|
new_ucmd!()
|
||||||
.args(&["-f2", "-d:", "-d="])
|
.args(&["-f2", "-d:", "-d="])
|
||||||
.pipe_in("a=b\n")
|
.pipe_in("a=b\n")
|
||||||
.succeeds();
|
.succeeds()
|
||||||
assert_eq!(result.stdout_str(), "b\n");
|
.stdout_only("b\n");
|
||||||
assert_eq!(result.stderr_str(), "");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue