File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Tests/web3swiftTests/remoteTests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ final class EIP1559Tests: XCTestCase {
2525 tx. from = EthereumAddress ( " 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B " ) !
2626 // Should fail if there would be something wrong with the tx
2727 let res = try await web3. eth. estimateGas ( for: tx)
28- XCTAssertTrue ( res > 0 )
28+ XCTAssertGreaterThan ( res, 0 )
2929 }
3030
3131 func testEIP1159GoerliTransaction( ) async throws {
@@ -41,7 +41,7 @@ final class EIP1559Tests: XCTestCase {
4141 tx. from = EthereumAddress ( " 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B " ) !
4242 // Should fail if there would be something wrong with the tx
4343 let res = try await web3. eth. estimateGas ( for: tx)
44- XCTAssertTrue ( res > 0 )
44+ XCTAssertGreaterThan ( res, 0 )
4545 }
4646
4747}
You can’t perform that action at this time.
0 commit comments