Commit 0d5e2b35 authored by hezhengjun's avatar hezhengjun Committed by 33cn

remove unused test case

parent 04ef38c1
...@@ -6,7 +6,6 @@ import ( ...@@ -6,7 +6,6 @@ import (
"github.com/33cn/plugin/plugin/dapp/cross2eth/contracts/contracts4eth/generated" "github.com/33cn/plugin/plugin/dapp/cross2eth/contracts/contracts4eth/generated"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/accounts/abi"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )
...@@ -23,11 +22,3 @@ func Test_UnpackLogLock(t *testing.T) { ...@@ -23,11 +22,3 @@ func Test_UnpackLogLock(t *testing.T) {
_, err = UnpackLogBurn(contractABI, eventName, eventData) _, err = UnpackLogBurn(contractABI, eventName, eventData)
require.NotNil(t, err) require.NotNil(t, err)
} }
func Test_Chain33MsgAttributeKey(t *testing.T) {
assert.Equal(t, UnsupportedAttributeKey.String(), "unsupported")
assert.Equal(t, Chain33Sender.String(), "chain33_sender")
assert.Equal(t, EthereumReceiver.String(), "ethereum_receiver")
assert.Equal(t, Coin.String(), "amount")
assert.Equal(t, TokenContractAddress.String(), "token_contract_address")
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment