(t *testing.T)
| 266 | } |
| 267 | |
| 268 | func TestValidations(t *testing.T) { |
| 269 | for i, tv := range testValidations { |
| 270 | err := validator(tv.r) |
| 271 | if tv.v && err != nil { |
| 272 | t.Fatalf("%v", err) |
| 273 | } |
| 274 | |
| 275 | if !tv.v && err == nil { |
| 276 | t.Fatalf("%d: expected error, but no error was reported", i) |
| 277 | } |
| 278 | } |
| 279 | } |
| 280 | |
| 281 | func TestRenewRSA(t *testing.T) { |
| 282 | certPEM, err := RenewFromPEM(testRSACAFile, testRSACAKeyFile) |
nothing calls this directly
no test coverage detected
searching dependent graphs…