10.0.0: CmdRunner: remove deprecated feature (#8928)

* remove deprecated feature

* remove deprecated feature from tests as well

* Adjust the integration test

* add changelog frag
This commit is contained in:
Alexei Znamensky 2024-09-26 21:01:36 +12:00 committed by GitHub
commit 002f137134
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 16 additions and 54 deletions

View file

@ -38,22 +38,12 @@ cmd_echo_tests:
- test_result.out == "-- --answer=43 --bb-here\n"
- test_result.err == ""
- name: implicit aa format
arg_formats:
bb:
func: as_bool
args: [--bb-here]
arg_order: ['aa', 'bb']
arg_values:
bb: true
aa: 1984
assertions:
- test_result.rc == 0
- test_result.out == "-- --aa 1984 --bb-here\n"
- test_result.err == ""
- name: missing bb format
arg_order: ['aa', 'bb']
arg_formats:
aa:
func: as_opt_eq_val
args: [--answer]
arg_values:
bb: true
aa: 1984
@ -69,6 +59,9 @@ cmd_echo_tests:
- name: missing bb value
arg_formats:
aa:
func: as_opt_eq_val
args: [--answer]
bb:
func: as_bool
args: [--bb-here]