mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
tests/sort: add tests for month sort
This commit is contained in:
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
N/A Ut enim ad minim veniam, quis
|
||||
Jan Lorem ipsum dolor sit amet
|
||||
mar laboris nisi ut aliquip ex ea
|
||||
May sed do eiusmod tempor incididunt
|
||||
JUN nostrud exercitation ullamco
|
||||
Oct ut labore et dolore magna aliqua
|
||||
Dec consectetur adipiscing elit
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
Jan Lorem ipsum dolor sit amet
|
||||
Dec consectetur adipiscing elit
|
||||
May sed do eiusmod tempor incididunt
|
||||
Oct ut labore et dolore magna aliqua
|
||||
N/A Ut enim ad minim veniam, quis
|
||||
JUN nostrud exercitation ullamco
|
||||
mar laboris nisi ut aliquip ex ea
|
||||
@@ -41,6 +41,11 @@ fn human1() {
|
||||
test_helper(&String::from("human1"), &String::from("-H"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn month1() {
|
||||
test_helper(&String::from("month1"), &String::from("-M"));
|
||||
}
|
||||
|
||||
fn numeric_helper(test_num: isize) {
|
||||
test_helper(&format!("numeric{}", test_num), &String::from("-n"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user