From b0fa702e90e83e79bdf9a2bfa837b9047e38cf96 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Tue, 22 Oct 2024 14:32:20 +0200 Subject: [PATCH] echo: remove unnecessary no_stderr() call in test --- tests/by-util/test_echo.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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]