Print more details on test fail
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
8d75da1629
commit
5f638b4193
@ -1121,7 +1121,8 @@ var SlashConsensusFault = &cli.Command{
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer srv.Close()
|
||||
defer srv.Close() //nolint:errcheck
|
||||
|
||||
a := srv.FullNodeAPI()
|
||||
ctx := ReqContext(cctx)
|
||||
|
||||
|
@ -56,7 +56,7 @@ type MockCLIClient struct {
|
||||
|
||||
func (c *MockCLIClient) RunCmd(input ...string) string {
|
||||
out, err := c.RunCmdRaw(input...)
|
||||
require.NoError(c.t, err)
|
||||
require.NoError(c.t, err, "output:\n%s", out)
|
||||
|
||||
return out
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user