Skip to content

Commit

Permalink
fix procedure syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Oct 4, 2023
1 parent 55af826 commit 138e5dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration/src/test/scala-2.13+/CompilerMatcher.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion integration/src/test/scala-2.13-/CompilerMatcher.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 138e5dc

Please sign in to comment.