Skip to content

Commit

Permalink
Accommodate change in order of Contrast resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jan 5, 2024
1 parent 780f958 commit c1f41e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/macros.scala
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ object Probably:
val debug: Expr[Debug[t | TestType]] =
Expr.summon[Debug[t | TestType]].getOrElse('{ TextConversion.any })

val contrast = Expr.summon[Contrast[t | TestType]].get
val contrast = Expr.summon[Contrast[t | TestType]].getOrElse('{Contrast.general[t | TestType]})
'{ assertion[t | TestType, TestType, ReportType, ResultType]($runner, $test, $predicate, $action, $contrast, Some($expr), $inc,
$inc2, $debug) }

Expand Down

0 comments on commit c1f41e5

Please sign in to comment.