fix case insensitive sort (#4449)

* fix case insensitive search

* fixed test

* tweak
This commit is contained in:
Darren Schroeder
2022-02-12 20:48:50 -06:00
committed by GitHub
parent 560be6e73e
commit 6fc082f6e9
2 changed files with 22 additions and 7 deletions

View File

@ -113,7 +113,7 @@ fn ls_sort_by_name_insensitive() {
"#
));
let json_output = r#"[{"name": "B.txt"},{"name": "C"},{"name": "a.txt"}]"#;
let json_output = r#"[{"name": "a.txt"},{"name": "B.txt"},{"name": "C"}]"#;
assert_eq!(actual.out, json_output);
}