diff --git a/tests/by-util/test_head.rs b/tests/by-util/test_head.rs index 0b0e98aa1..b72e77281 100644 --- a/tests/by-util/test_head.rs +++ b/tests/by-util/test_head.rs @@ -99,10 +99,8 @@ fn test_verbose() { } #[test] -#[ignore] fn test_spams_newline() { - //this test is does not mirror what GNU does - new_ucmd!().pipe_in("a").succeeds().stdout_is("a\n"); + new_ucmd!().pipe_in("a").succeeds().stdout_is("a"); } #[test] diff --git a/tests/by-util/test_touch.rs b/tests/by-util/test_touch.rs index 5cc0ba585..3151ca720 100644 --- a/tests/by-util/test_touch.rs +++ b/tests/by-util/test_touch.rs @@ -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'"); }