Skip to content

Commit afa3424

Browse files
committed
Bump versions, fix deprecation warning
1 parent d4a21e1 commit afa3424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/partest/scala/tools/partest/nest/Runner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ class Runner(val testFile: File, val suiteRunner: SuiteRunner) {
296296
def gitDiff(f1: File, f2: File): Option[String] = {
297297
try gitRunner map { git =>
298298
val cmd = s"$git diff $gitDiffOptions $f1 $f2"
299-
val diff = Process(cmd).lines_!.drop(4).map(_ + "\n").mkString
299+
val diff = Process(cmd).lineStream_!.drop(4).map(_ + "\n").mkString
300300

301301
"\n" + diff
302302
}

0 commit comments

Comments
 (0)