mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-14 19:16:17 +00:00
touch: re-enable test, fix typo in expected error messge
This commit is contained in:
parent
e50eb19056
commit
27030e9f53
1 changed files with 1 additions and 3 deletions
|
@ -846,13 +846,11 @@ fn test_touch_dash() {
|
|||
}
|
||||
|
||||
#[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’");
|
||||
.stderr_contains("touch: invalid date format '+1000000000000 years'");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue