Skip to content

Commit

Permalink
vouch instead of avow
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Nov 21, 2023
1 parent 98ee013 commit f063773
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/cli.scala
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import hieroglyph.*, textWidthCalculation.uniform
import language.adhocExtensions

abstract class Suite(suiteName: Text) extends TestSuite(suiteName):
val suiteIo = safely(stdioSources.jvm).avow(using Unsafe)
val suiteIo = safely(stdioSources.jvm).vouch(using Unsafe)

// FIXME: This seems to introduce a ghost ambiguity on the previous line
// It should be moved back to the top-level as soon as it works
Expand Down
2 changes: 1 addition & 1 deletion src/core/report.scala
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ class TestReport(using Environment):
) ::: (
comparisons.map: c =>
import Baseline.*
val baseline = c.benchmark.baseline.avow(using Unsafe)
val baseline = c.benchmark.baseline.vouch(using Unsafe)
Column(e"$Bold(${colors.CadetBlue}(${c.test.id}))", align = Alignment.Right): (bench: ReportLine.Bench) =>
def op(left: Double, right: Double): Double = baseline.calc match
case Difference => left - right
Expand Down

0 comments on commit f063773

Please sign in to comment.