mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Merge pull request #5124 from shinhs0506/seq-parse
seq: parse "infinity" and "-infinity"
This commit is contained in:
commit
bc7877b58c
2 changed files with 29 additions and 24 deletions
|
@ -623,11 +623,21 @@ fn test_neg_inf() {
|
|||
run(&["--", "-inf", "0"], b"-inf\n-inf\n-inf\n");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_neg_infinity() {
|
||||
run(&["--", "-infinity", "0"], b"-inf\n-inf\n-inf\n");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_inf() {
|
||||
run(&["inf"], b"1\n2\n3\n");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_infinity() {
|
||||
run(&["infinity"], b"1\n2\n3\n");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_inf_width() {
|
||||
run(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue