(t *testing.T)
| 22 | } |
| 23 | |
| 24 | func TestPod(t *testing.T) { |
| 25 | spec, err := os.ReadFile("testdata/pod.yaml") |
| 26 | require.NoError(t, err) |
| 27 | |
| 28 | require.Equal(t, |
| 29 | []string{"default, nginx, Pod (v1)"}, |
| 30 | foundObjects(Parse(spec, "default", false)), |
| 31 | ) |
| 32 | } |
| 33 | |
| 34 | func TestPodNamespace(t *testing.T) { |
| 35 | spec, err := os.ReadFile("testdata/pod_namespace.yaml") |
nothing calls this directly
no test coverage detected