Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
8 changes: 7 additions & 1 deletion conformance_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3566,4 +3566,10 @@
an_array_of_trues: [ true, true, true ]
an_int: 42

- $import: tests/loop/test-index.yaml
- 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 ]

- $import: tests/loop/test-index.yaml
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