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:
parent
66f11c4ce4
commit
b0fa702e90
1 changed files with 1 additions and 6 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue