mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
sort: Implement ignore-case
Test included.
This commit is contained in:
parent
4a16514d2c
commit
6dc1eb54c0
4 changed files with 33 additions and 0 deletions
7
tests/fixtures/sort/ignore_case.expected
vendored
Normal file
7
tests/fixtures/sort/ignore_case.expected
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
aaa
|
||||
BBB
|
||||
ccc
|
||||
DDD
|
||||
eee
|
||||
FFF
|
||||
ggg
|
7
tests/fixtures/sort/ignore_case.txt
vendored
Normal file
7
tests/fixtures/sort/ignore_case.txt
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
aaa
|
||||
ccc
|
||||
eee
|
||||
ggg
|
||||
BBB
|
||||
DDD
|
||||
FFF
|
|
@ -57,6 +57,11 @@ fn test_version() {
|
|||
test_helper("version", "-V");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ignore_case() {
|
||||
test_helper("ignore_case", "-f");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_multiple_files() {
|
||||
new_ucmd!()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue