From 47cb40c020605c62df85f8edc9ad26b0c799deee Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 9 Apr 2023 21:24:09 +0200 Subject: [PATCH] du: adjust test_du_basics_bad_name as we made it work --- tests/by-util/test_du.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/by-util/test_du.rs b/tests/by-util/test_du.rs index 992f7f162..a965d3fc6 100644 --- a/tests/by-util/test_du.rs +++ b/tests/by-util/test_du.rs @@ -121,7 +121,7 @@ fn test_du_invalid_size() { fn test_du_basics_bad_name() { new_ucmd!() .arg("bad_name") - .succeeds() // TODO: replace with ".fails()" once `du` is fixed + .fails() .stderr_only("du: bad_name: No such file or directory\n"); }