1
Fork 0
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:
Daniel Hofstetter 2024-12-18 14:44:12 +01:00
parent 2f82853bfa
commit 9aca24365f

View file

@ -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]