(t *testing.T)
| 131 | } |
| 132 | |
| 133 | func TestBaseNameAnnotation(t *testing.T) { |
| 134 | spec, err := os.ReadFile("testdata/secret_immutable.yaml") |
| 135 | require.NoError(t, err) |
| 136 | |
| 137 | require.Equal(t, |
| 138 | []string{"default, bat-secret, Secret (v1)"}, |
| 139 | foundObjects(Parse(spec, "default", false)), |
| 140 | ) |
| 141 | } |
| 142 | |
| 143 | func TestParseObject(t *testing.T) { |
| 144 | for _, tt := range []struct { |
nothing calls this directly
no test coverage detected