Skip to content

Commit

Permalink
Refactor code
Browse files Browse the repository at this point in the history
  • Loading branch information
jotaemepereira committed Jul 24, 2024
1 parent 6b27012 commit a217b5a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ class SortBookmarksViewModelTests: XCTestCase {
}
}

private func verify(pixel: GeneralPixel, for code: () -> Void, expectation: XCTestExpectation, verification: () async -> Void) async throws {
private func verify(pixel: GeneralPixel,

Check failure on line 125 in UnitTests/Bookmarks/ViewModels/SortBookmarksViewModelTests.swift

View workflow job for this annotation

GitHub Actions / SwiftLint

Lines should not have trailing whitespace (trailing_whitespace)
for code: () -> Void,
expectation: XCTestExpectation,
verification: () async -> Void) async throws {
let pixelKit = createPixelKit(pixelNamePrefix: pixel.name, pixelExpectation: expectation)

PixelKit.setSharedForTesting(pixelKit: pixelKit)
Expand Down

0 comments on commit a217b5a

Please sign in to comment.