From 4b54fb07018d5ed66ef82b6a53462e1b15c85d86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 7 Aug 2017 20:03:15 +0200 Subject: all: gofmt -s --- media/mediaType_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'media') diff --git a/media/mediaType_test.go b/media/mediaType_test.go index a6b18d1d6..ffef07b80 100644 --- a/media/mediaType_test.go +++ b/media/mediaType_test.go @@ -89,7 +89,7 @@ func TestDecodeTypes(t *testing.T) { { "Redefine JSON", []map[string]interface{}{ - map[string]interface{}{ + { "application/json": map[string]interface{}{ "suffix": "jsn"}}}, false, @@ -102,7 +102,7 @@ func TestDecodeTypes(t *testing.T) { { "Add custom media type", []map[string]interface{}{ - map[string]interface{}{ + { "text/hugo": map[string]interface{}{ "suffix": "hgo"}}}, false, @@ -119,7 +119,7 @@ func TestDecodeTypes(t *testing.T) { { "Add media type invalid key", []map[string]interface{}{ - map[string]interface{}{ + { "text/hugo+hgo": map[string]interface{}{}}}, true, func(t *testing.T, name string, tt Types) { -- cgit v1.2.3