浏览代码

accounts/abi/bind: simulated test case for fixed bytes logs

Péter Szilágyi 6 年之前
父节点
当前提交
5ce192ce44
共有 2 个文件被更改,包括 11 次插入3 次删除
  1. 9 1
      accounts/abi/bind/bind_test.go
  2. 2 2
      accounts/abi/bind/topics_test.go

文件差异内容过多而无法显示
+ 9 - 1
accounts/abi/bind/bind_test.go


+ 2 - 2
accounts/abi/bind/topics_test.go

@@ -24,7 +24,7 @@ import (
 	"github.com/ethereum/go-ethereum/common"
 	"github.com/ethereum/go-ethereum/common"
 )
 )
 
 
-func Test_makeTopics(t *testing.T) {
+func TestMakeTopics(t *testing.T) {
 	type args struct {
 	type args struct {
 		query [][]interface{}
 		query [][]interface{}
 	}
 	}
@@ -55,7 +55,7 @@ func Test_makeTopics(t *testing.T) {
 	}
 	}
 }
 }
 
 
-func Test_parseTopics(t *testing.T) {
+func TestParseTopics(t *testing.T) {
 	type bytesStruct struct {
 	type bytesStruct struct {
 		StaticBytes [5]byte
 		StaticBytes [5]byte
 	}
 	}

部分文件因为文件数量过多而无法显示