diff --git a/tests/by-util/test_echo.rs b/tests/by-util/test_echo.rs index 47240c7c0..136500b48 100644 --- a/tests/by-util/test_echo.rs +++ b/tests/by-util/test_echo.rs @@ -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]