From ececddd672f88fc07d911bd520e46809e47fef59 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 23 Jun 2024 22:01:32 +0200 Subject: ls: If we have --dired --hyperlink, we don't show dired but we still want to see the long format Co-authored-by: Daniel Hofstetter --- tests/by-util/test_ls.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/by-util/test_ls.rs') diff --git a/tests/by-util/test_ls.rs b/tests/by-util/test_ls.rs index f8f638fd7..edb2cd62d 100644 --- a/tests/by-util/test_ls.rs +++ b/tests/by-util/test_ls.rs @@ -3956,6 +3956,8 @@ fn test_ls_dired_hyperlink() { .arg("-R") .succeeds() .stdout_contains("file://") + .stdout_contains("-rw") // we should have the long output + // even if dired isn't actually run .stdout_does_not_contain("//DIRED//"); // dired is passed after hyperlink // so we will have DIRED output -- cgit v1.2.3