mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +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]
|
#[test]
|
||||||
fn test_rejects_nan() {
|
fn test_rejects_nan() {
|
||||||
new_ucmd!()
|
new_ucmd!().args(&["NaN"]).fails().stderr_only(
|
||||||
.args(&["NaN"])
|
"seq: invalid 'not-a-number' argument: 'NaN'\nTry 'seq --help' for more information.",
|
||||||
.fails()
|
);
|
||||||
.stderr_only("seq: invalid 'not-a-number' argument: 'NaN'\nTry 'seq --help' for more information.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_rejects_non_floats() {
|
fn test_rejects_non_floats() {
|
||||||
new_ucmd!()
|
new_ucmd!().args(&["foo"]).fails().stderr_only(
|
||||||
.args(&["foo"])
|
"seq: invalid floating point argument: 'foo'\nTry 'seq --help' for more information.",
|
||||||
.fails()
|
);
|
||||||
.stderr_only("seq: invalid floating point argument: 'foo'\nTry 'seq --help' for more information.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---- Tests for the big integer based path ----
|
// ---- Tests for the big integer based path ----
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue