Skip to content

Commit

Permalink
Correct View vs. Layer here (tho it doesn't make any difference) (Tex…
Browse files Browse the repository at this point in the history
…tureGroup#1378)

Older FBSnapshot versions, however, don't use VerifyViewOrLayer
  • Loading branch information
wiseoldduck authored and hebertialmeida committed May 10, 2019
1 parent 4a16e99 commit 5827e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/ASSnapshotTestCase.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ NSOrderedSet *ASSnapshotTestCaseDefaultSuffixes(void);
FBSnapshotVerifyViewWithOptions(view__, identifier__, ASSnapshotTestCaseDefaultSuffixes(), 0);

#define ASSnapshotVerifyViewWithTolerance(view__, identifier__, tolerance__) \
FBSnapshotVerifyLayerWithOptions(view__, identifier__, ASSnapshotTestCaseDefaultSuffixes(), tolerance__);
FBSnapshotVerifyViewWithOptions(view__, identifier__, ASSnapshotTestCaseDefaultSuffixes(), tolerance__);

@interface ASSnapshotTestCase : FBSnapshotTestCase

Expand Down

0 comments on commit 5827e97

Please sign in to comment.