Require column name(s) in sort-by (#7041)

This commit is contained in:
Reilly Wood
2022-11-09 14:16:51 -08:00
committed by GitHub
parent da8f6c5682
commit 2201bd9b09
4 changed files with 63 additions and 111 deletions

View File

@ -93,7 +93,7 @@ fn detect_newlines() -> TestResult {
#[test]
fn case_insensitive_sort() -> TestResult {
run_test(
r#"[a, B, d, C, f] | sort-by -i | to json --raw"#,
r#"[a, B, d, C, f] | sort -i | to json --raw"#,
"[\"a\",\"B\",\"C\",\"d\",\"f\"]",
)
}