We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53ebfaa commit 45c65eeCopy full SHA for 45c65ee
modules/snapshots-buildtime/src/main/resources/MunitSnapshotsIntegration.scala
@@ -17,7 +17,7 @@
17
package com.indoorvivants.snapshots.munit_integration
18
19
import munit._
20
-import munit.diff.Diffs
+import munit.diff.Diff
21
import _root_.$$PACKAGE$$.Snapshots
22
23
// This is a sample integration for Munit
@@ -31,7 +31,7 @@ trait MunitSnapshotsIntegration {
31
Snapshots.write(name, contents)
32
33
case Some(value) =>
34
- val diff = Diffs.create(contents, value)
+ val diff = new Diff(contents, value)
35
if (!diff.isEmpty) {
36
if (!Snapshots.forceOverwrite) {
37
val diffReport = diff.createDiffOnlyReport()
0 commit comments