dircolors: improve test by ensuring stderr output

This commit is contained in:
Daniel Hofstetter
2026-05-30 16:17:14 +02:00
committed by Sylvestre Ledru
parent ed15a26a6a
commit 4834b3187d
+3 -1
View File
@@ -148,7 +148,9 @@ fn test_overridable_args() {
#[test]
fn test_no_env() {
// no SHELL and TERM
new_ucmd!().fails();
new_ucmd!()
.fails()
.stderr_only("dircolors: no SHELL environment variable, and no shell type option given\n");
}
#[test]