Files
galaxy/test/functional/tools/parameters/gx_int_optional.xml
T

22 lines
609 B
XML

<tool id="gx_int_optional" name="gx_int_optional" version="1.0.0">
<command><![CDATA[
echo '$parameter' >> '$output'
]]></command>
<inputs>
<param name="parameter" value="1" type="integer" optional="true" />
</inputs>
<outputs>
<data name="output" format="txt" />
</outputs>
<tests>
<test>
<param name="parameter" value_json="12456" />
<output name="output">
<assert_contents>
<has_line line="12456" />
</assert_contents>
</output>
</test>
</tests>
</tool>