From e9abe9e6584ce2e5e2b322006949d47e4d97987c Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Sat, 8 Sep 2018 13:49:50 -0600 Subject: [PATCH] Added a couple of extra test cases. --- context_test.go | 2 ++ 1 file changed, 2 insertions(+) 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 {