Skip to content

Commit

Permalink
Merge pull request #479 from smh/fix-multi-string-tobe
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg authored Oct 7, 2024
2 parents a88b7a5 + b7f869a commit 2b31ad3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions jvm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Fixed
- Multiline `toBe` assertions (introduced in `2.1.0` for Java pre-15) were not throwing exceptions on snapshot mismatch, now fixed. ([#479](https://github.com/diffplug/selfie/pull/479))

## [2.4.0] - 2024-10-01
### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ actual interface StringFacet : FluentFacet {
buffer.append("\n")
buffer.append(line)
}
return buffer.toString()
return toBe(buffer.toString())
}
}

0 comments on commit 2b31ad3

Please sign in to comment.