We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d8c58a commit 7dc20bbCopy full SHA for 7dc20bb
tests/by-util/test_touch.rs
@@ -684,7 +684,8 @@ fn test_touch_set_date_relative_smoke() {
684
"2 seconds",
685
"2 years 1 week",
686
"2 days ago",
687
- "2 months and 1 second",
+ "2 months 1 second",
688
+ "a",
689
];
690
for time in times {
691
let (at, mut ucmd) = at_and_ucmd!();
@@ -694,11 +695,6 @@ fn test_touch_set_date_relative_smoke() {
694
695
.no_stderr()
696
.no_stdout();
697
}
- let (at, mut ucmd) = at_and_ucmd!();
698
- at.touch("f");
699
- ucmd.args(&["-d", "a", "f"])
700
- .fails()
701
- .stderr_contains("touch: Unable to parse date");
702
703
704
#[test]
0 commit comments