Skip to content

Commit

Permalink
Merge pull request #616 from xuwei-k/procedure-syntax
Browse files Browse the repository at this point in the history
fix procedure syntax
  • Loading branch information
eed3si9n authored Oct 4, 2023
2 parents 55af826 + 138e5dc commit a7113c6
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 a7113c6

Please sign in to comment.