mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 22:44:24 +00:00
testing: pass testing.T to assert and require always, assertion cleanup (#7508)
This commit is contained in:
@@ -52,7 +52,7 @@ func TestProvider(t *testing.T) {
|
||||
t.Log("chainID:", chainID)
|
||||
|
||||
c, err := rpchttp.New(rpcAddr)
|
||||
require.Nil(t, err)
|
||||
require.NoError(t, err)
|
||||
|
||||
p := lighthttp.NewWithClient(chainID, c)
|
||||
require.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user