Skip to content

Commit 39a2e8a

Browse files
committed
Fixing tests
1 parent cd36140 commit 39a2e8a

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

tests/NovaSeq6000.main_subsample.nf.test

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,12 @@ nextflow_pipeline {
8989
}
9090

9191
then {
92-
assert path(".nextflow.log").text.contains("Warning: Requested sample_size (120) is larger than available reads in Undetermined_5 (100). Pipeline will continue with 100 reads.")
93-
assert path(".nextflow.log").text.contains("Warning: Requested sample_size (120) is larger than available reads in SampleA_2 (100). Pipeline will continue with 100 reads.")
94-
assert path(".nextflow.log").text.contains("Warning: Requested sample_size (120) is larger than available reads in sampletest_4 (100). Pipeline will continue with 100 reads.")
95-
assert path(".nextflow.log").text.contains("Warning: Requested sample_size (120) is larger than available reads in Sample23_3 (100). Pipeline will continue with 100 reads.")
96-
assert path(".nextflow.log").text.contains("Warning: Requested sample_size (120) is larger than available reads in Sample1_1 (100). Pipeline will continue with 100 reads.")
92+
def log_path = "./.nextflow.log"
93+
assert path(log_path).text.contains("Warning: Requested sample_size (120) is larger than available reads in Undetermined_5 (100). Pipeline will continue with 100 reads.")
94+
assert path(log_path).text.contains("Warning: Requested sample_size (120) is larger than available reads in SampleA_2 (100). Pipeline will continue with 100 reads.")
95+
assert path(log_path).text.contains("Warning: Requested sample_size (120) is larger than available reads in sampletest_4 (100). Pipeline will continue with 100 reads.")
96+
assert path(log_path).text.contains("Warning: Requested sample_size (120) is larger than available reads in Sample23_3 (100). Pipeline will continue with 100 reads.")
97+
assert path(log_path).text.contains("Warning: Requested sample_size (120) is larger than available reads in Sample1_1 (100). Pipeline will continue with 100 reads.")
9798
}
9899
}
99100
}

0 commit comments

Comments
 (0)