Skip to content

Commit

Permalink
Renamed TextWidthCalculator to TextMetrics
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jan 24, 2024
1 parent 3e7ddaa commit 48870fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/report.scala
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ class TestReport(using Environment):


def complete(coverage: Option[CoverageResults])(using Stdio): Unit =
given TextWidthCalculator with
given TextMetrics with
private val eastAsian = textMetrics.eastAsianScripts
def width(text: Text): Int = text.s.foldLeft(0)(_ + width(_))
def width(char: Char): Int = char match
Expand Down

0 comments on commit 48870fe

Please sign in to comment.