cleanup: small cleanup before final push

This commit is contained in:
Nikola Divic 2022-02-11 00:09:07 +01:00
parent e5ac8662c8
commit 107eb76b20

View File

@ -516,9 +516,10 @@ func TestChainGasPrice(t *testing.T) {
mockApi. mockApi.
EXPECT(). EXPECT().
GasEstimateGasPremium(ctx, gomock.Any(), builtin.SystemActorAddr, int64(10000), types.EmptyTSK). GasEstimateGasPremium(ctx, gomock.Any(), builtin.SystemActorAddr, int64(10000), types.EmptyTSK).
Return(big.NewInt(0), nil).AnyTimes(). Return(big.NewInt(0), nil).
AnyTimes().
Do(func(a, b, c, d, e interface{}) { // looks funny, but we don't care about args here, just counting Do(func(a, b, c, d, e interface{}) { // looks funny, but we don't care about args here, just counting
calls += 1 calls++
}) })
err := app.Run([]string{"chain", "gas-price"}) err := app.Run([]string{"chain", "gas-price"})
@ -528,10 +529,6 @@ func TestChainGasPrice(t *testing.T) {
assert.Equal(t, calls, len(lines)) assert.Equal(t, calls, len(lines))
} }
func TestChainDecode(t *testing.T) {}
func TestChainEncode(t *testing.T) {}
type mockExportFile struct { type mockExportFile struct {
*bytes.Buffer *bytes.Buffer
} }