Skip to content

Commit 25ef16b

Browse files
authored
Merge pull request #159 from kindknow/master
chore: fix some function names in comment
2 parents 66e25bf + 29ed044 commit 25ef16b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proxy/proxy_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func TestProxyHTTP(t *testing.T) {
113113
}
114114
}
115115

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

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

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

0 commit comments

Comments
 (0)