(t *testing.T)
| 108 | } |
| 109 | |
| 110 | func TestSecretList(t *testing.T) { |
| 111 | spec, err := os.ReadFile("testdata/secretlist_v1.yaml") |
| 112 | require.NoError(t, err) |
| 113 | |
| 114 | require.Equal(t, |
| 115 | []string{ |
| 116 | "default, my-secret-1, Secret (v1)", |
| 117 | "default, my-secret-2, Secret (v1)", |
| 118 | }, |
| 119 | foundObjects(Parse(spec, "default", false)), |
| 120 | ) |
| 121 | } |
| 122 | |
| 123 | func TestEmpty(t *testing.T) { |
| 124 | spec, err := os.ReadFile("testdata/empty.yaml") |
nothing calls this directly
no test coverage detected