From a1f975ee9e966ffbe575eae862399d13e006dae3 Mon Sep 17 00:00:00 2001 From: Alexander Shirokov Date: Sat, 14 Dec 2024 15:42:33 +0100 Subject: [PATCH] seq:fix test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix the test that fails after the implementation of the floating-point format. The expected output now matches the GNU seq output. seq 0xlmnop seq: invalid floating point argument: ‘0xlmnop’ Issue #6935 --- tests/by-util/test_seq.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/by-util/test_seq.rs b/tests/by-util/test_seq.rs index 3ff9227345..4105697dfc 100644 --- a/tests/by-util/test_seq.rs +++ b/tests/by-util/test_seq.rs @@ -698,7 +698,7 @@ fn test_parse_error_hex() { new_ucmd!() .arg("0xlmnop") .fails() - .usage_error("invalid hexadecimal argument: '0xlmnop'"); + .usage_error("invalid floating point argument: '0xlmnop'"); } #[test]