Skip to content

Commit 19d68cd

Browse files
Test improvements.
1 parent 25cd5e2 commit 19d68cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/web3swiftTests/localTests/ERC20ClassTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ class ERC20ClassTests: LocalTestCase {
2626
// MARK: - Duplicated call readProperties
2727
// MARK: No data used in call
2828
let decimals = try await erc20token.decimals()
29-
XCTAssert(symbol == "w3s")
30-
XCTAssert(name == "web3swift")
31-
XCTAssert(decimals == 18)
29+
XCTAssertEqual(symbol, "w3s")
30+
XCTAssertEqual(name, "web3swift")
31+
XCTAssertEqual(decimals, 18)
3232
}
3333

3434
func testERC20tokenBalanceAndAllowance() async throws {

0 commit comments

Comments
 (0)