From c27d437f98170092d94bfcaef87a97460423ba2b Mon Sep 17 00:00:00 2001 From: Valeriy Van Date: Thu, 4 Jan 2024 20:22:09 +0200 Subject: [PATCH] Fix compile error in example snippet in doc comment in AssertSnapshot.swift --- 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 552077e49..ca614af05 100644 --- a/Sources/SnapshotTesting/AssertSnapshot.swift +++ b/Sources/SnapshotTesting/AssertSnapshot.swift @@ -151,7 +151,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,