Skip to content

Commit

Permalink
MacroBenchmark: use Scalafmt.format vs formatCode
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed Feb 3, 2022
1 parent c5dc870 commit 320c9ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ abstract class MacroBenchmark(parallel: Boolean, maxFiles: Int)

@Benchmark
def scalafmt(): Unit = {
files.foreach { file => Try(Scalafmt.formatCode(file)) }
files.foreach { file => Try(Scalafmt.format(file)) }
}

@Benchmark
Expand Down

0 comments on commit 320c9ec

Please sign in to comment.