(t *testing.T)
| 330 | } |
| 331 | |
| 332 | func TestHTTPErrorString(t *testing.T) { |
| 333 | method := "GET" |
| 334 | err := NewMethodNotAllowed(method) |
| 335 | str := err.Error() |
| 336 | if str != `Method is not allowed:"`+method+`"` { |
| 337 | t.Fatal("Incorrect Error():", str) |
| 338 | } |
| 339 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…