Skip to content

Commit

Permalink
Cleanup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Jun 23, 2023
1 parent 05be005 commit 7c74dd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tests/NukeTests/DataPublisherTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ internal final class DataPublisherTests: XCTestCase {

func testInitNotStartsExecutionRightAway() {
let operation = MockOperation()
let publisher = DataPublisher(id: UUID().uuidString, { await operation.execute() })
let publisher = DataPublisher(id: UUID().uuidString) {
await operation.execute()
}

XCTAssertEqual(0, operation.executeCalls)

Expand Down

0 comments on commit 7c74dd6

Please sign in to comment.