Skip to content

Commit 5ae8db2

Browse files
AndreiVidrascostephencelis
authored andcommitted
Fix typos in documentation (#191)
1 parent 1b10c31 commit 5ae8db2

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

Documentation/Available-Snapshot-Strategies.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ Records:
233233

234234
A 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`

0 commit comments

Comments
 (0)