MCPcopy
hub / github.com/kubernetes/client-go / matchStringArg

Function matchStringArg

tools/clientcmd/client_config_test.go:637–641  ·  view source on GitHub ↗
(expected, got string, t *testing.T)

Source from the content-addressed store, hash-verified

635}
636
637func matchStringArg(expected, got string, t *testing.T) {
638 if expected != got {
639 t.Errorf("Expected %q, got %q", expected, got)
640 }
641}
642
643func matchByteArg(expected, got []byte, t *testing.T) {
644 if !reflect.DeepEqual(expected, got) {

Callers 12

TestResolveRelativePathsFunction · 0.85
TestInsecureOverridesCAFunction · 0.85
TestMergeContextFunction · 0.85
TestModifyContextFunction · 0.85
TestBasicAuthDataFunction · 0.85
TestBasicTokenFileFunction · 0.85
TestPrecedenceTokenFileFunction · 0.85
TestCreateCleanFunction · 0.85
TestCreateCleanDefaultFunction · 0.85
TestNamespaceOverrideFunction · 0.85

Calls 1

ErrorfMethod · 0.65

Tested by

no test coverage detected