@@ -331,7 +331,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
331331
332332 protected def compile (files0 : Array [JFile ], flags0 : TestFlags , suppressErrors : Boolean , targetDir : JFile ): TestReporter = {
333333
334- val flags = flags0 and (" -d" , targetDir.getAbsolutePath)
334+ val flags = flags0. and(" -d" , targetDir.getAbsolutePath)
335335
336336 def flattenFiles (f : JFile ): Array [JFile ] =
337337 if (f.isDirectory) f.listFiles.flatMap(flattenFiles)
@@ -400,7 +400,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
400400 protected def compileFromTasty (flags0 : TestFlags , suppressErrors : Boolean , targetDir : JFile ): TestReporter = {
401401 val tastyOutput = new JFile (targetDir.getPath + " _from-tasty" )
402402 tastyOutput.mkdir()
403- val flags = flags0 and (" -d" , tastyOutput.getAbsolutePath) and " -from-tasty"
403+ val flags = flags0. and(" -d" , tastyOutput.getAbsolutePath). and( " -from-tasty" )
404404
405405 def hasTastyFileToClassName (f : JFile ): String =
406406 targetDir.toPath.relativize(f.toPath).toString.dropRight(" .hasTasty" .length).replace('/' , '.' )
@@ -427,8 +427,10 @@ trait ParallelTesting extends RunnerOrchestration { self =>
427427 val decompilationOutput = new JFile (targetDir.getPath)
428428 decompilationOutput.mkdir()
429429 val flags =
430- flags0 and (" -d" , decompilationOutput.getAbsolutePath) and
431- " -decompile" and " -pagewidth" and " 80"
430+ flags0
431+ .and(" -d" , decompilationOutput.getAbsolutePath)
432+ .and(" -decompile" )
433+ .and(" -pagewidth" , " 80" )
432434
433435 def hasTastyFileToClassName (f : JFile ): String =
434436 targetDir.toPath.relativize(f.toPath).toString.dropRight(" .hasTasty" .length).replace('/' , '.' )
0 commit comments