File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ func TestDefaultEthClientExploratory(t *testing.T) {
3838}
3939
4040func TestDefaultEthClient_CustomHeaderByNumber (t * testing.T ) {
41-
4241 mockEthClient := mocks .NewEthereumClienter (t )
4342 mockRPCClient := mocks .NewRPCClienter (t )
4443
@@ -76,7 +75,7 @@ func TestDefaultEthClient_CustomHeaderByNumber(t *testing.T) {
7675 rawEth , ok := result .(* * blockRawEth )
7776 require .True (t , ok )
7877 * rawEth = blockRaw95
79- })
78+ }). Once ()
8079
8180 mockRPCClient .
8281 EXPECT ().
@@ -86,7 +85,7 @@ func TestDefaultEthClient_CustomHeaderByNumber(t *testing.T) {
8685 rawEth , ok := result .(* * blockRawEth )
8786 require .True (t , ok )
8887 * rawEth = blockRaw100
89- })
88+ }). Once ()
9089 // Call CustomHeaderByNumber
9190 header , err := client .CustomHeaderByNumber (ctx , bnFinalized5 )
9291 require .NoError (t , err )
@@ -108,7 +107,7 @@ func TestDefaultEthClient_CustomHeaderByNumber(t *testing.T) {
108107 rawEth , ok := result .(* * blockRawEth )
109108 require .True (t , ok )
110109 * rawEth = blockRaw95
111- })
110+ }). Once ()
112111 header , err := client .CustomHeaderByNumber (ctx , nil )
113112 require .NoError (t , err )
114113 require .NotNil (t , header )
You can’t perform that action at this time.
0 commit comments