refactor(x/gov): reduce "if block" indentation (#18918)

This commit is contained in:
lilas
2023-12-30 11:28:11 +00:00
committed by GitHub
parent 4f1d7f92ac
commit 14037aef00
6 changed files with 34 additions and 30 deletions
+2
View File
@@ -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")