File: inbound_http_to_outbound_grpc_internal_test.go

package info (click to toggle)
gitlab-agent 16.11.5-1
  • links: PTS, VCS
  • area: contrib
  • in suites: experimental
  • size: 7,072 kB
  • sloc: makefile: 193; sh: 55; ruby: 3
file content (11 lines) | stat: -rw-r--r-- 219 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
package grpctool

import "testing"

func TestCleanHeader(t *testing.T) {
	cleanHeader(nil) // does not crash
}

func TestHeaderFromHTTPRequestHeader(t *testing.T) {
	headerFromHTTPRequestHeader(nil) // does not crash
}