@@ -120,8 +120,8 @@ class ConvertScriptStaticTypesTest extends Specification {
120120 where :
121121 INPUT | TYPED_INPUT | STAGE
122122 ' path fastq' | ' fastq: Path' | null
123- " path 'file.txt'" | ' $in1: Path' | " stageAs 'file.txt', \$ in1 "
124- " path fastq, stageAs: 'file.txt'" | ' fastq: Path' | " stageAs 'file.txt', fastq "
123+ " path 'file.txt'" | ' $in1: Path' | " stageAs \$ in1, 'file.txt'"
124+ " path fastq, stageAs: 'file.txt'" | ' fastq: Path' | " stageAs fastq, 'file.txt'"
125125 " path fastq, arity: '1'" | ' fastq: Path' | null
126126 " path fastq, arity: '0..*'" | ' fastq: Set<Path>' | null
127127 " path fastq, arity: '2'" | ' fastq: Set<Path>' | null
@@ -153,7 +153,7 @@ class ConvertScriptStaticTypesTest extends Specification {
153153 where :
154154 INPUT | TYPED_INPUT | STAGE
155155 ' tuple val(id), path(fastq)' | ' (id, fastq): Tuple<?, Path>' | null
156- " tuple val(id), path('file.txt')" | ' (id, $in1): Tuple<?, Path>' | " stageAs 'file.txt', \$ in1 "
156+ " tuple val(id), path('file.txt')" | ' (id, $in1): Tuple<?, Path>' | " stageAs \$ in1, 'file.txt'"
157157 }
158158
159159 def ' should convert each inputs as val or path' () {
@@ -163,7 +163,7 @@ class ConvertScriptStaticTypesTest extends Specification {
163163 expect :
164164 checkInputs(service, ' each method' , ' method' )
165165 checkInputs(service, ' each path(index)' , ' index: Path' )
166- checkInputs(service, " each path('file.txt')" , ' $in1: Path' , " stageAs 'file.txt', \$ in1 " )
166+ checkInputs(service, " each path('file.txt')" , ' $in1: Path' , " stageAs \$ in1, 'file.txt'" )
167167 }
168168
169169 def ' should convert val outputs' () {
0 commit comments