aboutsummaryrefslogtreecommitdiffhomepage
path: root/media
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-08-07 20:03:15 +0200
committerBjørn Erik Pedersen <[email protected]>2017-08-07 20:03:15 +0200
commit4b54fb07018d5ed66ef82b6a53462e1b15c85d86 (patch)
tree4a91d6cb9f967c18a7c4dad51aeb1a182d7849ce /media
parent40d7d3baa8d83ad71873c85cf08286e1aaea6174 (diff)
downloadhugo-4b54fb07018d5ed66ef82b6a53462e1b15c85d86.tar.gz
hugo-4b54fb07018d5ed66ef82b6a53462e1b15c85d86.zip
all: gofmt -s
Diffstat (limited to 'media')
-rw-r--r--media/mediaType_test.go6
1 files changed, 3 insertions, 3 deletions
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) {