bartongroup / slivka

http://bartongroup.github.io/slivka/
Apache License 2.0
7 stars 3 forks source link

Test choice whose value is null #93

Closed warownia1 closed 3 years ago

warownia1 commented 3 years ago

Add ChoiceField test that verifies that when the option whose value is null is selected, the command line parameter is skipped.

form field definition

type: choice
required: no
choices:
  orange: orng
  apple: appl
  nothing: null

parameter: --fruit $(value)

Expected behaviour: parameter is skipped when "nothing" is selected.