go-errhttp/notacceptable_test.go

15 lines
242 B
Go
Raw Normal View History

2017-02-06 20:58:13 +00:00
package errhttp
import (
"testing"
)
func TestNotAcceptable(t *testing.T) {
var x NotAcceptable = internalNotAcceptable{} // THIS IS THE LINE THAT ACTUALLY MATTERS IN THIS TEST.
if nil == x {
t.Errorf("This should not happen.")
}
}