diff --git a/context_test.go b/context_test.go index 1832ea8c..bc079762 100644 --- a/context_test.go +++ b/context_test.go @@ -1135,6 +1135,8 @@ func TestContextNegotiationFormatWithAccept(t *testing.T) { {typicalAccept, []string{MIMEJSON, MIMEXML}, MIMEXML}, {typicalAccept, []string{MIMEXML, MIMEHTML}, MIMEHTML}, {typicalAccept, []string{MIMEJSON}, MIMEJSON}, + {"text/*", []string{MIMEJSON, MIMEHTML}, MIMEHTML}, + {"text/*", []string{MIMEJSON, MIMEXML}, ""}, } for i, tc := range testCases {