Skip to content

Commit

Permalink
address comments: improve test's names readability
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilGeorgiev committed Apr 5, 2024
1 parent 19a952f commit 20ad83f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/address/store_key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ func (suite *StoreKeySuite) TestMustLengthPrefix() {
expStoreKey []byte
expPanic bool
}{
{"add length prefix for address", addr10byte, append([]byte{byte(10)}, addr10byte...), false},
{"too long address must rise a panic", addr256byte, nil, true},
{"10-byte address with length prefix", addr10byte, append([]byte{byte(10)}, addr10byte...), false},
{"256-byte address triggers panic due to excessive length", addr256byte, nil, true},
}

for _, tt := range tests {
Expand Down

0 comments on commit 20ad83f

Please sign in to comment.