File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ Records:
233233
234234A snapshot strategy for comparing images based on pixel equality.
235235
236- ** Format:** ` UIImage `
236+ ** Format:** ` NSImage `
237237
238238#### Parameters:
239239
@@ -275,10 +275,6 @@ A snapshot strategy for comparing layers based on pixel equality.
275275
276276 A view size override.
277277
278- - ` traits: UITraitCollection = .init() `
279-
280- A trait collection override.
281-
282278#### Example:
283279
284280``` swift
@@ -293,12 +289,6 @@ assertSnapshot(
293289 matching : view,
294290 as : .image (size : .init (width : 44 , height : 44 ))
295291)
296-
297- // Render with a horizontally-compact size class.
298- assertSnapshot (
299- matching : view,
300- as : .image (traits : .init (horizontalSizeClass : .regular ))
301- )
302292```
303293
304294### ` .recursiveDescription `
You can’t perform that action at this time.
0 commit comments