Skip to content

Commit

Permalink
Add null test
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Oct 18, 2022
1 parent eedbc5b commit 014e274
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/map_param_value/map_param_value.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,15 @@ return { output: coerceToOutput(source) };
</conditional>
<output name="output_param_text" value_json="&quot;C&quot;" />
</test>
<test expect_num_outputs="1">
<conditional name="input_param_type">
<param name="input_param" value="A" />
<repeat name="mappings">
<param name="from" value="A" />
</repeat>
</conditional>
<output name="output_param_text" value_json="null" />
</test>
<test expect_num_outputs="1" expect_failure="true">
<conditional name="input_param_type">
<param name="input_param" value="C" />
Expand Down

0 comments on commit 014e274

Please sign in to comment.