(t *testing.T)
| 25 | } |
| 26 | |
| 27 | func TestNewResponseRejectStaticIsInvalid(t *testing.T) { |
| 28 | if _, err := NewResponse("reject-static://?code=204", nil); err == nil { |
| 29 | t.Fatalf("NewResponse accepted reject-static scheme") |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | func TestNewRejectAuthStaticIsInvalid(t *testing.T) { |
| 34 | if _, err := NewRejectAuth("static://?code=403", nil); err == nil { |
nothing calls this directly
no test coverage detected