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 {
25
25
tx. from = EthereumAddress ( " 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B " ) !
26
26
// Should fail if there would be something wrong with the tx
27
27
let res = try await web3. eth. estimateGas ( for: tx)
28
- XCTAssertTrue ( res > 0 )
28
+ XCTAssertGreaterThan ( res, 0 )
29
29
}
30
30
31
31
func testEIP1159GoerliTransaction( ) async throws {
@@ -41,7 +41,7 @@ final class EIP1559Tests: XCTestCase {
41
41
tx. from = EthereumAddress ( " 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B " ) !
42
42
// Should fail if there would be something wrong with the tx
43
43
let res = try await web3. eth. estimateGas ( for: tx)
44
- XCTAssertTrue ( res > 0 )
44
+ XCTAssertGreaterThan ( res, 0 )
45
45
}
46
46
47
47
}
You can’t perform that action at this time.
0 commit comments