1
Fork 0
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:
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]
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]