mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
ls,stat: fix single_char_pattern in tests
This commit is contained in:
parent
0309ccd28b
commit
3210638168
2 changed files with 4 additions and 4 deletions
|
@ -511,6 +511,6 @@ fn test_stat_selinux() {
|
|||
.stdout_contains("system_u");
|
||||
// Count that we have 4 fields
|
||||
let result = ts.ucmd().arg("--printf='%C'").arg("/bin/").succeeds();
|
||||
let s: Vec<_> = result.stdout_str().split(":").collect();
|
||||
let s: Vec<_> = result.stdout_str().split(':').collect();
|
||||
assert!(s.len() == 4);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue