- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestPathForKey (0.13 sec)
-
cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go
crtPath := pathForCert("/foo", "bar") expectedPath := filepath.FromSlash("/foo/bar.crt") if crtPath != expectedPath { t.Errorf("unexpected certificate path: %s", crtPath) } } func TestPathForKey(t *testing.T) { keyPath := pathForKey("/foo", "bar") expectedPath := filepath.FromSlash("/foo/bar.key") if keyPath != expectedPath { t.Errorf("unexpected certificate path: %s", keyPath) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 22.5K bytes - Viewed (0)