diff options
Diffstat (limited to 'model/command_response_test.go')
-rw-r--r-- | model/command_response_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/model/command_response_test.go b/model/command_response_test.go index 19be796b8..dde8d032b 100644 --- a/model/command_response_test.go +++ b/model/command_response_test.go @@ -27,6 +27,7 @@ func TestCommandResponseFromHTTPBody(t *testing.T) { {"", "foo", "foo"}, {"text/plain", "foo", "foo"}, {"application/json", `{"text": "foo"}`, "foo"}, + {"application/json; charset=utf-8", `{"text": "foo"}`, "foo"}, } { response := CommandResponseFromHTTPBody(test.ContentType, strings.NewReader(test.Body)) if response.Text != test.ExpectedText { |