diff --git a/Example/Tests/ReferenceImages/SnapshotSpec/overlay_placement__in_perspective__should_look_as_expected@2x.png b/Example/Tests/ReferenceImages/SnapshotSpec/overlay_placement__in_perspective__should_look_as_expected@2x.png deleted file mode 100644 index dccb579..0000000 Binary files a/Example/Tests/ReferenceImages/SnapshotSpec/overlay_placement__in_perspective__should_look_as_expected@2x.png and /dev/null differ diff --git a/Example/Tests/ReferenceImages/SnapshotSpec/overlay_placement__in_perspective__should_look_as_expected_within_a_tolerance@2x.png b/Example/Tests/ReferenceImages/SnapshotSpec/overlay_placement__in_perspective__should_look_as_expected_within_a_tolerance@2x.png new file mode 100644 index 0000000..6e6255d Binary files /dev/null and b/Example/Tests/ReferenceImages/SnapshotSpec/overlay_placement__in_perspective__should_look_as_expected_within_a_tolerance@2x.png differ diff --git a/Example/Tests/ReferenceImages/SnapshotSpec/overlay_placement__in_perspective__should_look_as_expected@3x.png b/Example/Tests/ReferenceImages/SnapshotSpec/overlay_placement__in_perspective__should_look_as_expected_within_a_tolerance@3x.png similarity index 100% rename from Example/Tests/ReferenceImages/SnapshotSpec/overlay_placement__in_perspective__should_look_as_expected@3x.png rename to Example/Tests/ReferenceImages/SnapshotSpec/overlay_placement__in_perspective__should_look_as_expected_within_a_tolerance@3x.png diff --git a/Example/Tests/SnapshotSpec.swift b/Example/Tests/SnapshotSpec.swift index 4b44f55..c6d9f66 100644 --- a/Example/Tests/SnapshotSpec.swift +++ b/Example/Tests/SnapshotSpec.swift @@ -41,7 +41,9 @@ class SnapshotSpec: QuickSpec { let tolerance: CGFloat = 0.01 let toleranceMessage = {"\(100 * tolerance)% tolerance"} fputs("images are compared with \(toleranceMessage())\n".uppercased(), __stderrp) - expect(containerView).to(haveValidSnapshot(usesDrawRect: true, tolerance: tolerance), description: "should match with \(toleranceMessage())") + expect(containerView).to(haveValidSnapshot(usesDrawRect: true, + tolerance: tolerance), + description: "should match with \(toleranceMessage())") } } }