From 8af9d0c8a4151f37a863bb9c85b9af2571993c71 Mon Sep 17 00:00:00 2001 From: Kyle Date: Sat, 7 Jun 2025 17:09:12 +0800 Subject: [PATCH] Update AssertSnapshot.swift Fix the compile issue for example code in verifySnapshot documentation. --- Sources/SnapshotTesting/AssertSnapshot.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SnapshotTesting/AssertSnapshot.swift b/Sources/SnapshotTesting/AssertSnapshot.swift index 11e76142..b4425776 100644 --- a/Sources/SnapshotTesting/AssertSnapshot.swift +++ b/Sources/SnapshotTesting/AssertSnapshot.swift @@ -242,7 +242,7 @@ public func assertSnapshots( /// /// let snapshotDirectory = ProcessInfo.processInfo.environment["SNAPSHOT_REFERENCE_DIR"]! + "/" + #file /// let failure = verifySnapshot( -/// of: value, +/// of: try value(), /// as: snapshotting, /// named: name, /// record: recording,