Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
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
6 changes: 6 additions & 0 deletions conformance_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3525,3 +3525,9 @@
an_array_of_mixed_booleans: [ false, true, false ]
an_array_of_trues: [ true, true, true ]
an_int: 42

- id: invalid_expression_tool_output
tool: tests/null-expression4-tool.cwl
doc: Test that the output objects returned by an ExpressionTool process are validated against the outputs schema.
should_fail: true
tags: [ inline_javascript, expression_tool ]
2 changes: 1 addition & 1 deletion tests/null-expression3-tool.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ cwlVersion: v1.3.0-dev1
inputs: []

outputs:
output: Any
output: Any?

expression: "$({'output': null })"
12 changes: 12 additions & 0 deletions tests/null-expression4-tool.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env cwl-runner

class: ExpressionTool
requirements: { InlineJavascriptRequirement: {} }
cwlVersion: v1.3.0-dev1

inputs: []

outputs:
output: Any

expression: "$({'output': null })"
Loading