mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
echo: remove unnecessary no_stderr() call in test
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user