Skip to content

Commit

Permalink
refactor: update ERC20 contract test func name
Browse files Browse the repository at this point in the history
  • Loading branch information
Monika-Bitfly committed Feb 5, 2025
1 parent 6e067ee commit eb469a5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions backend/pkg/commons/rpc/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -626,9 +626,9 @@ func TestGetBlockUncles(t *testing.T) {
}
}

// TestGetContractSymbol tests the getERC20ContractSymbol function which extracts
// TestGetERC20ContractSymbol tests the getERC20ContractSymbol function which extracts
// the symbol of an ERC20 contract
func TestGetContractSymbol(t *testing.T) {
func TestGetERC20ContractSymbol(t *testing.T) {
backend := th.NewBackend(t)
ret := &types.ERC20Metadata{}

Expand Down Expand Up @@ -704,9 +704,9 @@ func TestGetContractSymbol(t *testing.T) {

}

Check failure on line 705 in backend/pkg/commons/rpc/utils_test.go

View workflow job for this annotation

GitHub Actions / lint

unnecessary trailing newline (whitespace)

// TestGetContractTotalSupply tests the getERC20ContractTotalSupply function which
// TestGetERC20ContractTotalSupply tests the getERC20ContractTotalSupply function which
// extracts the total supply of an ERC20 contract
func TestGetContractTotalSupply(t *testing.T) {
func TestGetERC20ContractTotalSupply(t *testing.T) {
backend := th.NewBackend(t)
ret := &types.ERC20Metadata{}

Expand Down Expand Up @@ -746,9 +746,9 @@ func TestGetContractTotalSupply(t *testing.T) {
}
}

// TestGetContractDecimals tests the getERC20ContractDecimals function which
// TestGetERC20ContractDecimals tests the getERC20ContractDecimals function which
// extracts the decimals of an ERC20 contract
func TestGetContractDecimals(t *testing.T) {
func TestGetERC20ContractDecimals(t *testing.T) {
backend := th.NewBackend(t)
ret := &types.ERC20Metadata{}

Expand Down

0 comments on commit eb469a5

Please sign in to comment.