mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
Merge pull request #5997 from BenWiederhake/dev-unignore
Un-Ignore two tests that fail for nonsense reasons
This commit is contained in:
commit
208b2dbb51
2 changed files with 2 additions and 6 deletions
|
@ -99,10 +99,8 @@ fn test_verbose() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore]
|
|
||||||
fn test_spams_newline() {
|
fn test_spams_newline() {
|
||||||
//this test is does not mirror what GNU does
|
new_ucmd!().pipe_in("a").succeeds().stdout_is("a");
|
||||||
new_ucmd!().pipe_in("a").succeeds().stdout_is("a\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -846,13 +846,11 @@ fn test_touch_dash() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
// Chrono panics for now
|
|
||||||
#[ignore]
|
|
||||||
fn test_touch_invalid_date_format() {
|
fn test_touch_invalid_date_format() {
|
||||||
let (_at, mut ucmd) = at_and_ucmd!();
|
let (_at, mut ucmd) = at_and_ucmd!();
|
||||||
let file = "test_touch_invalid_date_format";
|
let file = "test_touch_invalid_date_format";
|
||||||
|
|
||||||
ucmd.args(&["-m", "-t", "+1000000000000 years", file])
|
ucmd.args(&["-m", "-t", "+1000000000000 years", file])
|
||||||
.fails()
|
.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