Skip to content

Commit

Permalink
Extend tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Nov 29, 2024
1 parent b160e7d commit 7867388
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion lib/galaxy_test/workflow/default_values.gxwf-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@
- doc: |
Test that default value doesn't need to be supplied
job: {}
outputs:
out:
class: File
asserts:
- that: has_text
text: "1"
- doc: |
Test that null is replaced with default value
job:
required_int_with_default:
type: raw
value: null
outputs:
out:
class: File
asserts:
- that: has_text
text: "1"
- doc: |
Test that empty string is not replaced and fails
job:
input: {}
required_int_with_default:
type: raw
value: ""
outputs:
out:
class: File
Expand Down

0 comments on commit 7867388

Please sign in to comment.