From 581b4f0065a310aa7034ba8271a9066e7f0a648e Mon Sep 17 00:00:00 2001 From: Matt Kocubinski Date: Mon, 17 Jun 2024 10:51:31 -0500 Subject: [PATCH] fix(types): fix linting error (#20700) --- go.work.example | 2 +- types/simulation/config.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/go.work.example b/go.work.example index 961d4f9a7c..ad894e8b4f 100644 --- a/go.work.example +++ b/go.work.example @@ -13,8 +13,8 @@ use ( ./math ./orm ./simapp - ./simapp/v2 ./tests + ./tests/systemtests ./server/v2/stf ./server/v2/appmanager ./store diff --git a/types/simulation/config.go b/types/simulation/config.go index df0eb49cd8..07cd6d4c69 100644 --- a/types/simulation/config.go +++ b/types/simulation/config.go @@ -34,6 +34,7 @@ func (c Config) shallowCopy() Config { // With sets the values of t, seed, and fuzzSeed in a copy of the Config and returns the copy. func (c Config) With(t *testing.T, seed int64, fuzzSeed []byte) Config { + t.Helper() r := c.shallowCopy() r.T = t r.Seed = seed