Skip to content

Commit

Permalink
[TIDY]
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthMike committed Jan 9, 2024
1 parent c553221 commit ed724c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web3sTests/Client/EthereumClientTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ class EthereumClientTests: XCTestCase {
fromBlock: .Earliest,
toBlock: .Latest,
eventTypes: [ERC20Events.Transfer.self])
XCTAssertEqual(eventsResult?.events.count, 5) // MIQU 4
XCTAssertEqual(eventsResult?.logs.count, 4)
XCTAssertEqual(eventsResult?.events.count, 5)
} catch {
XCTFail("Expected events but failed \(error).")
}
Expand All @@ -257,8 +257,8 @@ class EthereumClientTests: XCTestCase {
fromBlock: .Earliest,
toBlock: .Latest,
eventTypes: [ERC20Events.Transfer.self, TransferMatchingSignatureEvent.self])
XCTAssertEqual(eventsResult?.events.count, 10) // MIQU 8
XCTAssertEqual(eventsResult?.logs.count, 8)
XCTAssertEqual(eventsResult?.events.count, 10)
} catch {
XCTFail("Expected events but failed \(error).")
}
Expand All @@ -276,8 +276,8 @@ class EthereumClientTests: XCTestCase {
fromBlock: .Earliest,
toBlock: .Latest,
matching: filters)
XCTAssertEqual(eventsResult?.logs.count, 7)
XCTAssertEqual(eventsResult?.events.count, 2)
XCTAssertEqual(eventsResult?.logs.count, 7) // MIQU 7
} catch {
XCTFail("Expected events but failed \(error).")
}
Expand All @@ -296,8 +296,8 @@ class EthereumClientTests: XCTestCase {
fromBlock: .Earliest,
toBlock: .Latest,
matching: filters)
XCTAssertEqual(eventsResult?.events.count, 6)
XCTAssertEqual(eventsResult?.logs.count, 16)
XCTAssertEqual(eventsResult?.events.count, 6)
} catch {
XCTFail("Expected events but failed \(error).")
}
Expand Down

0 comments on commit ed724c9

Please sign in to comment.