Skip to content

Commit

Permalink
add missing self
Browse files Browse the repository at this point in the history
  • Loading branch information
jessesquires committed Oct 15, 2024
1 parent 557c222 commit 46ac464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/TestDiffableSnapshot.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ final class TestDiffableSnapshot: UnitTestCase, @unchecked Sendable {
@MainActor
func test_init_perf() {
let model = self.fakeCollectionViewModel(numSections: 10, numCells: 10_000)
measure {
self.measure {
let snapshot = DiffableSnapshot(viewModel: model)
XCTAssertEqual(snapshot.numberOfItems, 100_000)
}
Expand Down

0 comments on commit 46ac464

Please sign in to comment.