From 138e5dc7b08b4996340dd812ed97dfb8163c935a Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Thu, 5 Oct 2023 07:56:27 +0900 Subject: [PATCH] fix procedure syntax --- integration/src/test/scala-2.13+/CompilerMatcher.scala | 2 +- integration/src/test/scala-2.13-/CompilerMatcher.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/src/test/scala-2.13+/CompilerMatcher.scala b/integration/src/test/scala-2.13+/CompilerMatcher.scala index 5adf7520..4f845ce7 100644 --- a/integration/src/test/scala-2.13+/CompilerMatcher.scala +++ b/integration/src/test/scala-2.13+/CompilerMatcher.scala @@ -207,7 +207,7 @@ trait CompilerMatcher { file.delete } - def copyFileFromResource(source: String, dest: File) { + def copyFileFromResource(source: String, dest: File): Unit = { val in = getClass.getResourceAsStream(source) val reader = new java.io.BufferedReader(new java.io.InputStreamReader(in)) val out = new java.io.PrintWriter(new java.io.FileWriter(dest)) diff --git a/integration/src/test/scala-2.13-/CompilerMatcher.scala b/integration/src/test/scala-2.13-/CompilerMatcher.scala index ff9c2105..a46267b9 100644 --- a/integration/src/test/scala-2.13-/CompilerMatcher.scala +++ b/integration/src/test/scala-2.13-/CompilerMatcher.scala @@ -207,7 +207,7 @@ trait CompilerMatcher { file.delete } - def copyFileFromResource(source: String, dest: File) { + def copyFileFromResource(source: String, dest: File): Unit = { val in = getClass.getResourceAsStream(source) val reader = new java.io.BufferedReader(new java.io.InputStreamReader(in)) val out = new java.io.PrintWriter(new java.io.FileWriter(dest))