Skip to content

Commit b0fa702

Browse files
committed
echo: remove unnecessary no_stderr() call in test
1 parent 66f11c4 commit b0fa702

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/by-util/test_echo.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,7 @@ fn test_default() {
1313

1414
#[test]
1515
fn test_no_trailing_newline() {
16-
new_ucmd!()
17-
.arg("-n")
18-
.arg("hi")
19-
.succeeds()
20-
.no_stderr()
21-
.stdout_only("hi");
16+
new_ucmd!().arg("-n").arg("hi").succeeds().stdout_only("hi");
2217
}
2318

2419
#[test]

0 commit comments

Comments
 (0)