Skip to content

Commit 208b2db

Browse files
authored
Merge pull request #5997 from BenWiederhake/dev-unignore
Un-Ignore two tests that fail for nonsense reasons
2 parents 1691127 + 27030e9 commit 208b2db

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

tests/by-util/test_head.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,8 @@ fn test_verbose() {
9999
}
100100

101101
#[test]
102-
#[ignore]
103102
fn test_spams_newline() {
104-
//this test is does not mirror what GNU does
105-
new_ucmd!().pipe_in("a").succeeds().stdout_is("a\n");
103+
new_ucmd!().pipe_in("a").succeeds().stdout_is("a");
106104
}
107105

108106
#[test]

tests/by-util/test_touch.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -846,13 +846,11 @@ fn test_touch_dash() {
846846
}
847847

848848
#[test]
849-
// Chrono panics for now
850-
#[ignore]
851849
fn test_touch_invalid_date_format() {
852850
let (_at, mut ucmd) = at_and_ucmd!();
853851
let file = "test_touch_invalid_date_format";
854852

855853
ucmd.args(&["-m", "-t", "+1000000000000 years", file])
856854
.fails()
857-
.stderr_contains("touch: invalid date format +1000000000000 years");
855+
.stderr_contains("touch: invalid date format '+1000000000000 years'");
858856
}

0 commit comments

Comments
 (0)