mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 01:54:57 +02:00
Use partial_cmp and make -i case insensitive (#4498)
* Use partial_cmp and make -i case insensitive * Insensitive sort multiple columns
This commit is contained in:
@ -127,7 +127,7 @@ fn ls_sort_by_type_name_sensitive() {
|
||||
"#
|
||||
));
|
||||
|
||||
let json_output = r#"[{"name": "C","type": "Dir"},{"name": "a.txt","type": "File"},{"name": "B.txt","type": "File"}]"#;
|
||||
let json_output = r#"[{"name": "C","type": "Dir"},{"name": "B.txt","type": "File"},{"name": "a.txt","type": "File"}]"#;
|
||||
assert_eq!(actual.out, json_output);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user