v0.9.3
What's Changed
The expect macro respects user-provided source locations
You can now specify an implicit source location for helper functions that call expect and expect.all. The source location will be displayed in the failure message. For example:
def myHelper(x: Int, y: Int)(implicit loc: SourceLocation): Expectations = {
expect(x > y)
}
myHelper(1, 2) // The failure message points to this line in the source codeImprovements
- Propagate source locations in expect macro by @zainab-ali in #175
Updates
- Update cats-effect, cats-effect-testkit to 3.6.2 by @typelevel-steward[bot] in #170
- Update cats-effect, cats-effect-testkit to 3.6.3 by @typelevel-steward[bot] in #176
Behind the scenes
- Update sbt-scalafmt to 2.5.5 by @typelevel-steward[bot] in #165
- Update sbt, scripted-plugin to 1.11.3 by @typelevel-steward[bot] in #168
- Update sbt-mdoc to 2.7.2 by @typelevel-steward[bot] in #173
- Add guide on asserting equality. by @zainab-ali in #172
Full Changelog: v0.9.2...v0.9.3