go-errhttp/payloadtoolarge_test.go

15 lines
248 B
Go
Raw Normal View History

2019-07-19 23:33:55 +00:00
package errhttp
import (
"testing"
)
func TestPayloadTooLarge(t *testing.T) {
var x PayloadTooLarge = internalPayloadTooLarge{} // THIS IS THE LINE THAT ACTUALLY MATTERS IN THIS TEST.
if nil == x {
t.Errorf("This should not happen.")
}
}