Skip to content

Commit

Permalink
Merge pull request #5997 from BenWiederhake/dev-unignore
Browse files Browse the repository at this point in the history
Un-Ignore two tests that fail for nonsense reasons
  • Loading branch information
sylvestre authored Feb 23, 2024
2 parents 1691127 + 27030e9 commit 208b2db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions tests/by-util/test_head.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 1 addition & 3 deletions tests/by-util/test_touch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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'");
}

0 comments on commit 208b2db

Please sign in to comment.