mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
rustfmt the recent change
This commit is contained in:
parent
132ddf98b6
commit
6aa53ead7c
1 changed files with 6 additions and 8 deletions
|
@ -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 ----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue