Skip to content

Commit c20f302

Browse files
committed
Fix env tests
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
1 parent 877b85e commit c20f302

File tree

4 files changed

+4
-4
lines changed
  • tests-v1/checks
  • tests/checks

4 files changed

+4
-4
lines changed

tests-v1/checks/env-container-with(special)chars.nf/.checks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ process foo {
2525
input:
2626
env BAR
2727
'''
28-
env | sort
28+
env | grep -E "^(FOO|BAR)" | sort
2929
hello.sh
3030
'''
3131
}

tests-v1/checks/env-container.nf/.checks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ process foo {
2525
input:
2626
env BAR
2727
'''
28-
env | sort
28+
env | grep -E "^(FOO|BAR)" | sort
2929
hello.sh
3030
'''
3131
}

tests/checks/env-container-with(special)chars.nf/.checks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ process foo {
2626
env 'BAR'
2727
script:
2828
'''
29-
env | sort
29+
env | grep -E "^(FOO|BAR)" | sort
3030
hello.sh
3131
'''
3232
}

tests/checks/env-container.nf/.checks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ process foo {
2626
env 'BAR'
2727
script:
2828
'''
29-
env | sort
29+
env | grep -E "^(FOO|BAR)" | sort
3030
hello.sh
3131
'''
3232
}

0 commit comments

Comments
 (0)