Skip to content

Commit

Permalink
Use updated assert snapshot method
Browse files Browse the repository at this point in the history
  • Loading branch information
tinder-cfuller committed Dec 16, 2023
1 parent fe5c9e0 commit 56d1194
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/LayoutTests/Support/SnapshotTesting.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ extension XCTestCase {
let view: UIView = viewController.view
view.backgroundColor = .white
layout(view).activate()
assertSnapshot(matching: viewController,
assertSnapshot(of: viewController,
as: .image(on: device.config),
named: device.name,
file: file,
testName: testName,
line: line)
assertSnapshot(matching: viewController,
assertSnapshot(of: viewController,
as: .recursiveDescription(on: device.config),
named: device.name,
file: file,
Expand Down

0 comments on commit 56d1194

Please sign in to comment.