Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for argument with empty prefix and separate false #64

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions conformance_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3313,3 +3313,13 @@
Test that optional number output is returned as 0, not null
tags: [ required, inline_javascript, command_line_tool ]
id: 253

- tool: tests/arg-empty-prefix-separate-false.cwl
job: tests/empty.json
output: {}
tetron marked this conversation as resolved.
Show resolved Hide resolved
label: argument_empty_prefix_separate_false
doc: |
Test that argument with empty string as prefix and separate
false is not omitted from command line
tags: [ required, shell_command, command_line_tool ]
id: 254
16 changes: 16 additions & 0 deletions tests/arg-empty-prefix-separate-false.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
class: CommandLineTool
cwlVersion: v1.1
baseCommand: []
inputs: []
outputs: []
arguments:
- position: 1
shellQuote: false
valueFrom: "non_existing_app"
- position: 0
prefix: ''
separate: false
shellQuote: false
valueFrom: "echo"
requirements:
- class: ShellCommandRequirement