Skip to content

Commit 6b91d3a

Browse files
authored
Merge pull request #4592 from mvanhorn/osc/1875-ticker-implicit-notfound
Fix `Ticker` @implicitNotFound message to reference testkit-available API
2 parents 504db0c + 328d694 commit 6b91d3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testkit/shared/src/main/scala/cats/effect/testkit/TestInstances.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ trait TestInstances extends ParallelFGenerators with OutcomeGenerators with Sync
253253
}
254254

255255
@implicitNotFound(
256-
"could not find an instance of Ticker; try using `in ticked { implicit ticker =>`")
256+
"could not find an instance of Ticker; try declaring one with `implicit val ticker: Ticker = Ticker()`")
257257
case class Ticker(ctx: TestContext = TestContext())
258258
}
259259

0 commit comments

Comments
 (0)