Skip to content

Commit

Permalink
DiskSelfie now makes the Snapshot actual value public (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg authored Jul 11, 2024
2 parents ce5937e + 91d0be9 commit 1902951
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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]
### Added
- `DiskSelfie` now makes the `Snapshot actual` value public, so that other testing infrastructure can read from snapshotted values. ([#467](https://github.com/diffplug/selfie/pull/467))
### Fixed
- `cacheSelfie` was missing `@JvmOverloads` on the methods with default arguments. ([#425](https://github.com/diffplug/selfie/pull/425))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ import kotlin.io.encoding.ExperimentalEncodingApi
import kotlin.jvm.JvmOverloads

/** A selfie which can be stored into a selfie-managed file. */
open class DiskSelfie
internal constructor(protected val actual: Snapshot, protected val disk: DiskStorage) :
open class DiskSelfie internal constructor(val actual: Snapshot, protected val disk: DiskStorage) :
FluentFacet {
@JvmOverloads
open fun toMatchDisk(sub: String = ""): DiskSelfie {
Expand Down

0 comments on commit 1902951

Please sign in to comment.