refactor(x/gov): reduce "if block" indentation (#18918)
This commit is contained in:
@@ -118,6 +118,8 @@ func (s *errorsTestSuite) TestIsOf() {
|
||||
err := ErrInvalidAddress
|
||||
errW := Wrap(ErrLogic, "more info")
|
||||
|
||||
require.False(IsOf(nil), "nil should always have no causer")
|
||||
require.False(IsOf(nil, err), "nil should always have no causer")
|
||||
require.False(IsOf(errNil), "nil error should always have no causer")
|
||||
require.False(IsOf(errNil, err), "nil error should always have no causer")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user