From a7ab660a3859b7b24f3b8a46dc2675a0aa717bf4 Mon Sep 17 00:00:00 2001 From: Bluelief <33663724+bluelief@users.noreply.github.com> Date: Tue, 15 Aug 2023 00:43:32 +0900 Subject: [PATCH] fmt: change test to ignore and fix test output - fix test to get same result as GNU fmt --- tests/by-util/test_fmt.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/by-util/test_fmt.rs b/tests/by-util/test_fmt.rs index c2f67e136..84a19d34d 100644 --- a/tests/by-util/test_fmt.rs +++ b/tests/by-util/test_fmt.rs @@ -44,13 +44,14 @@ fn test_fmt_width_too_big() { } } +#[ignore] #[test] fn test_fmt_goal() { for param in ["-g", "--goal"] { new_ucmd!() .args(&["one-word-per-line.txt", param, "7"]) .succeeds() - .stdout_is("this is\na file\nwith one\nword per\nline\n"); + .stdout_is("this is a\nfile with one\nword per line\n"); } }