Rename opt to avoid stutter

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2023-11-01 10:39:54 -07:00
parent 261e01c2ac
commit b85df264ef
5 changed files with 14 additions and 14 deletions

View File

@@ -189,7 +189,7 @@ func TestMain(m *testing.M) {
os.Exit(status)
}
func newClient(t testing.TB, address string, opts ...ClientOpt) (*Client, error) {
func newClient(t testing.TB, address string, opts ...Opt) (*Client, error) {
if testing.Short() {
t.Skip()
}