mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
ls: update chrono crate version and switch to new_lenient
use (#7858)
* update chrono crate version and switch to new_lenient use * bring back custom_tz_fmt and update test * update chrono version in fuzz lock file * replace boxing with parse_to_owned
This commit is contained in:
parent
8084231eb9
commit
b14388ca41
5 changed files with 23 additions and 13 deletions
|
@ -5705,3 +5705,13 @@ fn test_time_style_timezone_name() {
|
|||
.succeeds()
|
||||
.stdout_matches(&re_custom_format);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_unknown_format_specifier() {
|
||||
let re_custom_format = Regex::new(r"[a-z-]* \d* [\w.]* [\w.]* \d+ \d{4} %0 \d{9} f\n").unwrap();
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
at.touch("f");
|
||||
ucmd.args(&["-l", "--time-style=+%Y %0 %N"])
|
||||
.succeeds()
|
||||
.stdout_matches(&re_custom_format);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue