Skip to content

Commit

Permalink
Code doc
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe committed Jun 13, 2024
1 parent 6328260 commit e79d9cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/simulation/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func (c Config) shallowCopy() Config {
return c
}

// 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 {

Check failure on line 36 in types/simulation/config.go

View workflow job for this annotation

GitHub Actions / golangci-lint

test helper function should start from t.Helper() (thelper)
r := c.shallowCopy()
r.T = t
Expand Down

0 comments on commit e79d9cf

Please sign in to comment.