Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some function names in comment #159

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions proxy/proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func TestProxyHTTP(t *testing.T) {
}
}

// TestProxyHTTP tests that the proxy can forward HTTP requests to a backend
// runHTTPTest tests that the proxy can forward HTTP requests to a backend
// service and handle L402 authentication correctly.
func runHTTPTest(t *testing.T, tc *testCase, method string) {
// Create a list of services to proxy between.
Expand Down Expand Up @@ -217,7 +217,7 @@ func runHTTPTest(t *testing.T, tc *testCase, method string) {
require.EqualValues(t, len(bodyBytes), resp.ContentLength)
}

// TestProxyHTTP tests that the proxy can forward gRPC requests to a backend
// TestProxyGRPC tests that the proxy can forward gRPC requests to a backend
// service and handle L402 authentication correctly.
func TestProxyGRPC(t *testing.T) {
testCases := []*testCase{{
Expand Down Expand Up @@ -255,7 +255,7 @@ func TestProxyGRPC(t *testing.T) {
}
}

// TestProxyHTTP tests that the proxy can forward gRPC requests to a backend
// runGRPCTest tests that the proxy can forward gRPC requests to a backend
// service and handle L402 authentication correctly.
func runGRPCTest(t *testing.T, tc *testCase) {
// Since gRPC only really works over TLS, we need to generate a
Expand Down
Loading