mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-01 05:27:45 +00:00
Implement test for months whitespace fix
This commit is contained in:
parent
3c1c76444b
commit
77411f3fb5
4 changed files with 21 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1,7 +1,5 @@
|
||||||
# This file is automatically @generated by Cargo.
|
# This file is automatically @generated by Cargo.
|
||||||
# It is not intended for manual editing.
|
# It is not intended for manual editing.
|
||||||
version = 3
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "advapi32-sys"
|
name = "advapi32-sys"
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
|
|
|
@ -8,6 +8,11 @@ fn test_helper(file_name: &str, args: &str) {
|
||||||
.stdout_is_fixture(format!("{}.expected", file_name));
|
.stdout_is_fixture(format!("{}.expected", file_name));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test_months_whitespace() {
|
||||||
|
test_helper("months-whitespace", "-M");
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_multiple_decimals_general() {
|
fn test_multiple_decimals_general() {
|
||||||
new_ucmd!()
|
new_ucmd!()
|
||||||
|
|
8
tests/fixtures/sort/months-whitespace.expected
vendored
Normal file
8
tests/fixtures/sort/months-whitespace.expected
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
JAN
|
||||||
|
FEb
|
||||||
|
apr
|
||||||
|
apr
|
||||||
|
JUNNNN
|
||||||
|
AUG
|
8
tests/fixtures/sort/months-whitespace.txt
vendored
Normal file
8
tests/fixtures/sort/months-whitespace.txt
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
JAN
|
||||||
|
JUNNNN
|
||||||
|
AUG
|
||||||
|
|
||||||
|
apr
|
||||||
|
apr
|
||||||
|
|
||||||
|
FEb
|
Loading…
Add table
Add a link
Reference in a new issue