From e3dffb5b0ab6aa734085de88beb60d480822f839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Sat, 6 Sep 2025 14:01:49 +0200 Subject: [PATCH] fix test_ls: remove test/dir/ prefix in test_ls_capabilities The output of 'ls test/cap_pos test/dir' looks like this: test/cap_pos test/dir: cap_neg cap_pos --- tests/by-util/test_ls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/by-util/test_ls.rs b/tests/by-util/test_ls.rs index a8ce2c32c..f24ad37ff 100644 --- a/tests/by-util/test_ls.rs +++ b/tests/by-util/test_ls.rs @@ -6070,7 +6070,7 @@ fn test_ls_capabilities() { .succeeds() .stdout_contains("\x1b[30;41mtest/cap_pos") // spell-checker:disable-line .stdout_contains("\x1b[30;41mcap_pos") // spell-checker:disable-line - .stdout_does_not_contain("0;41mtest/dir/cap_neg"); // spell-checker:disable-line + .stdout_does_not_contain("0;41mcap_neg"); // spell-checker:disable-line } #[cfg(feature = "test_risky_names")]