1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

dir, vdir: fix incorrect regex in tests

This commit is contained in:
Terts Diepraam 2022-05-01 13:48:51 +02:00
parent 96807e4db8
commit 95ba8c45b2
2 changed files with 4 additions and 4 deletions

View file

@ -31,7 +31,7 @@ fn test_default_output() {
scene
.ucmd()
.succeeds()
.stdout_does_not_match(&Regex::new("[rwx][^some-file1]").unwrap());
.stdout_does_not_match(&Regex::new("[rwx-]{10}.*some-file1$").unwrap());
}
#[test]
@ -51,5 +51,5 @@ fn test_long_output() {
.ucmd()
.arg("-l")
.succeeds()
.stdout_matches(&Regex::new("[rwx][^some-file1]").unwrap());
.stdout_matches(&Regex::new("[rwx-]{10}.*some-file1$").unwrap());
}