Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore!: rename testutil to util #1707

Merged
merged 1 commit into from
May 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/test/fuzz_abci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestPrepareProposalConsistency(t *testing.T) {
accounts[i] = tmrand.Str(20)
}

testApp, kr := testutil.SetupTestAppWithGenesisValSet(accounts...)
testApp, kr := util.SetupTestAppWithGenesisValSet(accounts...)

type test struct {
name string
Expand All @@ -50,7 +50,7 @@ func TestPrepareProposalConsistency(t *testing.T) {
case <-timer:
return
default:
txs := testutil.RandBlobTxsWithAccounts(
txs := util.RandBlobTxsWithAccounts(
t,
testApp,
encConf.TxConfig.TxEncoder(),
Expand All @@ -62,7 +62,7 @@ func TestPrepareProposalConsistency(t *testing.T) {
accounts[:tt.count],
)
// create 100 send transactions
sendTxs := testutil.SendTxsWithAccounts(
sendTxs := util.SendTxsWithAccounts(
t,
testApp,
encConf.TxConfig.TxEncoder(),
Expand Down
2 changes: 1 addition & 1 deletion test/util/common.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package testutil
package util

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion test/util/direct_tx_gen.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package testutil
package util

import (
"math/rand"
Expand Down
2 changes: 1 addition & 1 deletion test/util/test_app.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package testutil
package util

import (
"encoding/json"
Expand Down