File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
jvm/selfie-lib/src/commonMain/kotlin/com/diffplug/selfie Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ enum class Mode {
47
47
msg(" Snapshot " + SnapshotNotEqualErrorMsg .forUnequalStrings(expected, actual))
48
48
internal fun msgSnapshotMismatchBinary (expected : ByteArray , actual : ByteArray ) =
49
49
msgSnapshotMismatch(expected.toQuotedPrintable(), actual.toQuotedPrintable())
50
+ internal fun msgVcrSnapshotNotFound () = msg(" VCR snapshot not found" )
50
51
internal fun msgVcrMismatch (key : String , expected : String , actual : String ) =
51
52
msg(" VCR frame $key " + SnapshotNotEqualErrorMsg .forUnequalStrings(expected, actual))
52
53
internal fun msgVcrUnread (expected : Int , actual : Int ) =
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ internal constructor(
45
45
if (state.readMode) {
46
46
val snapshot =
47
47
disk.readDisk(sub, call)
48
- ? : throw Selfie .system.fs.assertFailed(Selfie .system.mode.msgSnapshotNotFound ())
48
+ ? : throw Selfie .system.fs.assertFailed(Selfie .system.mode.msgVcrSnapshotNotFound ())
49
49
var idx = 1
50
50
for ((key, value) in snapshot.facets) {
51
51
check(key.startsWith(OPEN ))
You can’t perform that action at this time.
0 commit comments