Skip to content

Commit

Permalink
doc: fix typo in TestAPI.With godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Roussel authored and maxatome committed Jan 15, 2024
1 parent 60dea79 commit 26a69aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers/tdhttp/test_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ func (ta *TestAPI) Clone() *TestAPI {
ta.defaultHeader, ta.defaultQParams, ta.defaultCookies)
}

// With creates a new [*TestAPI] instance copied from t, but resetting
// With creates a new [*TestAPI] instance copied from ta, but resetting
// the [testing.TB] instance the tests are based on to tb. The
// returned instance is independent from t, sharing only the same
// returned instance is independent from ta, sharing only the same
// handler. The header values, query params and cookies defined using
// [TestAPI.DefaultRequestParams] or [TestAPI.AddDefaultRequestParams]
// are also copied.
Expand Down

0 comments on commit 26a69aa

Please sign in to comment.