Skip to content

Commit

Permalink
change collect to size
Browse files Browse the repository at this point in the history
  • Loading branch information
ramprasadn committed Sep 11, 2023
1 parent 545b807 commit 1e5535c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pipeline/germlinecnvcaller_cohort.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ nextflow_workflow {
assert workflow.trace.failed().size() == 0

FileFilter filter = file -> file.isFile()
assert path("$outputDir").toFile().listFiles(filter).collect() == 94
assert path("$outputDir").toFile().listFiles(filter).size() == 94

def expected = path("$baseDir/tests/test_assets/germlinecnvcaller_software_versions.yaml").yaml.collect()
def observed_list = []
Expand Down

0 comments on commit 1e5535c

Please sign in to comment.