(t *testing.T)
| 95 | } |
| 96 | |
| 97 | func TestConfigMapList(t *testing.T) { |
| 98 | spec, err := os.ReadFile("testdata/configmaplist_v1.yaml") |
| 99 | require.NoError(t, err) |
| 100 | |
| 101 | require.Equal(t, |
| 102 | []string{ |
| 103 | "default, configmap-2-1, ConfigMap (v1)", |
| 104 | "default, configmap-2-2, ConfigMap (v1)", |
| 105 | }, |
| 106 | foundObjects(Parse(spec, "default", false)), |
| 107 | ) |
| 108 | } |
| 109 | |
| 110 | func TestSecretList(t *testing.T) { |
| 111 | spec, err := os.ReadFile("testdata/secretlist_v1.yaml") |
nothing calls this directly
no test coverage detected