Skip to content

Commit 257cd7e

Browse files
committed
Made cleanup function private.
1 parent 76f6f3d commit 257cd7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

x/wasm/keeper/addresses_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
sdk "github.com/cosmos/cosmos-sdk/types"
1212
)
1313

14-
func PrepareCleanup(t *testing.T) {
14+
func prepareCleanup(t *testing.T) {
1515
// preserve current Bech32 settings and restore them after test completion
1616
x, y := sdk.GetConfig().GetBech32AccountAddrPrefix(), sdk.GetConfig().GetBech32AccountPubPrefix()
1717
c := sdk.IsAddrCacheEnabled()
@@ -29,7 +29,7 @@ func PrepareCleanup(t *testing.T) {
2929

3030
func TestBuildContractAddressClassic(t *testing.T) {
3131
// set cleanup function
32-
PrepareCleanup(t)
32+
prepareCleanup(t)
3333
// prepare test data
3434
specs := []struct {
3535
codeId uint64
@@ -71,7 +71,7 @@ func TestBuildContractAddressClassic(t *testing.T) {
7171

7272
func TestBuildContractAddressPredictable(t *testing.T) {
7373
// set cleanup function
74-
PrepareCleanup(t)
74+
prepareCleanup(t)
7575
// test vectors generated via cosmjs: https://github.com/cosmos/cosmjs/pull/1253/files
7676
type Spec struct {
7777
In struct {

0 commit comments

Comments
 (0)