test(complete): Add another sort/filter case

This commit is contained in:
Ed Page 2024-09-20 13:43:12 -05:00
parent 8b88646129
commit 6b426dfd70

View file

@ -1119,6 +1119,15 @@ pos-c
--long-flag
--help Print help
-s
"#]]
);
assert_data_eq!(
complete!(cmd, "--[TAB]"),
snapbox::str![[r#"
--required-flag
--optional-flag
--long-flag
--help Print help
"#]]
);
}