File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
clap_complete/tests/testsuite Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -232,15 +232,15 @@ value value
232232
233233 let input = "exhaustive empty \t " ;
234234 let expected = snapbox:: str![ [ r#"
235- no candidates
235+ error: no candidates
236236% exhaustive empty
237237"# ] ] ;
238238 let actual = runtime. complete ( input, & term) . unwrap ( ) ;
239239 assert_data_eq ! ( actual, expected) ;
240240
241241 let input = "exhaustive --empty=\t " ;
242242 let expected = snapbox:: str![ [ r#"
243- no candidates
243+ error: no candidates
244244% exhaustive --empty=
245245"# ] ] ;
246246 let actual = runtime. complete ( input, & term) . unwrap ( ) ;
@@ -372,8 +372,8 @@ fn complete_dynamic_empty_subcommand() {
372372
373373 let input = "exhaustive empty \t \t " ;
374374 let expected = snapbox:: str![ [ r#"
375- no candidates
376- no candidates
375+ error: no candidates
376+ error: no candidates
377377% exhaustive empty
378378"# ] ] ;
379379 let actual = runtime. complete ( input, & term) . unwrap ( ) ;
@@ -393,7 +393,7 @@ fn complete_dynamic_empty_option_value() {
393393
394394 let input = "exhaustive --empty=\t " ;
395395 let expected = snapbox:: str![ [ r#"
396- no candidates
396+ error: no candidates
397397% exhaustive --empty=
398398"# ] ] ;
399399 let actual = runtime. complete ( input, & term) . unwrap ( ) ;
Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ fn complete_dynamic_env_quoted_help() {
282282
283283 let input = "exhaustive quote \t \t " ;
284284 let expected = snapbox:: str![ [ r#"
285- % exhaustive quote
285+ % exhaustive quote cmd-single-quotes
286286cmd-single-quotes (Can be 'always', 'auto', or 'never')
287287cmd-double-quotes (Can be "always", "auto", or "never")
288288cmd-backticks (For more information see `echo test`)
You can’t perform that action at this time.
0 commit comments