1
Fork 0
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:
Sylvestre Ledru 2024-02-23 08:34:07 +01:00 committed by GitHub
commit 208b2dbb51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 6 deletions

View file

@ -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]

View file

@ -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'");
}