Skip to content

Commit d95a527

Browse files
fix record
1 parent ab11383 commit d95a527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SnapshotTesting/AssertSnapshot.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public func verifySnapshot<Value, Format>(
277277
// But, if we're recording, don't bother checking the bundle, since we aren't comparing it to anything, and
278278
// want the new file to be generated in the source directory, not the bundle.
279279
var snapshotFileUrlCandidate: URL?
280-
if !recording {
280+
if !record {
281281
let thisBundle = Bundle(for: CleanCounterBetweenTestCases.self)
282282
let resourcePath = thisBundle.path(forResource: "\(testName).\(identifier)", ofType: snapshotting.pathExtension)
283283
snapshotFileUrlCandidate = resourcePath.map({ URL(fileURLWithPath: $0) })

0 commit comments

Comments
 (0)