From 6aa53ead7c26ad8a4814466798a788eeea35f968 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 2 Jun 2021 18:43:35 +0200 Subject: [PATCH] rustfmt the recent change --- tests/by-util/test_seq.rs | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/tests/by-util/test_seq.rs b/tests/by-util/test_seq.rs index 459eeeb3a..be04bf1fd 100644 --- a/tests/by-util/test_seq.rs +++ b/tests/by-util/test_seq.rs @@ -2,18 +2,16 @@ use crate::common::util::*; #[test] fn test_rejects_nan() { - new_ucmd!() - .args(&["NaN"]) - .fails() - .stderr_only("seq: invalid 'not-a-number' argument: 'NaN'\nTry 'seq --help' for more information."); + new_ucmd!().args(&["NaN"]).fails().stderr_only( + "seq: invalid 'not-a-number' argument: 'NaN'\nTry 'seq --help' for more information.", + ); } #[test] fn test_rejects_non_floats() { - new_ucmd!() - .args(&["foo"]) - .fails() - .stderr_only("seq: invalid floating point argument: 'foo'\nTry 'seq --help' for more information."); + new_ucmd!().args(&["foo"]).fails().stderr_only( + "seq: invalid floating point argument: 'foo'\nTry 'seq --help' for more information.", + ); } // ---- Tests for the big integer based path ----