Skip to content

Commit

Permalink
Revert.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite committed Dec 5, 2023
1 parent 90e6141 commit d75d60b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ final class SnapshotTestingCallback : UIViewSnapshotCallback {
func verifySnapshot(view: UIView, name: String?) {
// Set `record` to true to generate new snapshots. Be sure to revert that before committing!
// Note that tests always fail when `record` is true.
assertSnapshot(of: view, as: .image, named: name, record: true, file: fileName, testName: testName)
assertSnapshot(of: view, as: .image, named: name, record: false, file: fileName, testName: testName)
}
}

0 comments on commit d75d60b

Please sign in to comment.