You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: tracer_jaeger_test.go
    path of file: ./repos/benthos/internal/impl/jaeger
    
    the code of the file until where you have to start completion: package jaeger

import (
	"context"
	"testing"

	"github.com/stretchr/testify/assert"
	"github.com/stretchr/testify/require"
	"go.opentelemetry.io/otel/attribute"
	"go.opentelemetry.io/otel/exporters/jaeger" // nolint:staticcheck
	tracesdk "go.opentelemetry.io/otel/sdk/trace"
	"go.opentelemetry.io/otel/sdk/trace/tracetest"
	semconv "go.opentelemetry.io/otel/semconv/v1.7.0"

	"github.com/benthosdev/benthos/v4/internal/c
    
func TestGetAgentOps(t *testing.T) {
	tests := []struct {
		name         string
		agentAddress string
		want         []jaeger.AgentEndpointOption
	}{
		{
			name:         "address with port",
			agentAddress: "localhost:5775",
			want: []jaeger.AgentEndpointOption{
				jaeger.WithAgentHost("localhost"),
				jaeger.WithAgentPort("5775"),
			},
		},
		{
			name:         "address without port",
			agentAddress: "jaeger",
			want: []jaeger.AgentEndpointOption{
				jaeger.WithAgentHost("jaeger"),
			},
		},
	}
	for _, testCase := range tests {
		t.Run(testCase.name, func(t *testing.T) {
			opts, err := getAgentOpts(testCase.agentAddress)

			// We can't check for equality because they are functions, so we just check that the length is the same
			assert.Len(t, opts, len(testCase.want))
			assert.NoError(t, err)
		})
	}
}