(t *testing.T, f *zip.File, vals ...string)
| 467 | } |
| 468 | |
| 469 | func assertDoesNotContain(t *testing.T, f *zip.File, vals ...string) { |
| 470 | t.Helper() |
| 471 | bs := readBytesFromZip(t, f) |
| 472 | for _, val := range vals { |
| 473 | if bytes.Contains(bs, []byte(val)) { |
| 474 | t.Fatalf("file %q should not contain value %q", f.Name, val) |
| 475 | } |
| 476 | } |
| 477 | } |
| 478 | |
| 479 | func seedSecretDeploymentOptions(t *testing.T, dc *codersdk.DeploymentConfig, secretValue string) { |
| 480 | t.Helper() |
no test coverage detected