1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

echo: remove unnecessary no_stderr() call in test

This commit is contained in:
Daniel Hofstetter 2024-10-22 14:32:20 +02:00
parent 66f11c4ce4
commit b0fa702e90

View file

@ -13,12 +13,7 @@ fn test_default() {
#[test]
fn test_no_trailing_newline() {
new_ucmd!()
.arg("-n")
.arg("hi")
.succeeds()
.no_stderr()
.stdout_only("hi");
new_ucmd!().arg("-n").arg("hi").succeeds().stdout_only("hi");
}
#[test]