mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-15 11:36:16 +00:00
Update parse_datetime to 0.5.0 (#5313)
This commit is contained in:
parent
3d015826b9
commit
c27fcc4084
5 changed files with 32 additions and 31 deletions
|
@ -844,3 +844,15 @@ fn test_touch_dash() {
|
|||
|
||||
ucmd.args(&["-h", "-"]).succeeds().no_stderr().no_stdout();
|
||||
}
|
||||
|
||||
#[test]
|
||||
// Chrono panics for now
|
||||
#[ignore]
|
||||
fn test_touch_invalid_date_format() {
|
||||
let (_at, mut ucmd) = at_and_ucmd!();
|
||||
let file = "test_touch_invalid_date_format";
|
||||
|
||||
ucmd.args(&["-m", "-t", "+1000000000000 years", file])
|
||||
.fails()
|
||||
.stderr_contains("touch: invalid date format ‘+1000000000000 years’");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue