diff options
author | Bjørn Erik Pedersen <[email protected]> | 2017-08-07 20:03:15 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-08-07 20:03:15 +0200 |
commit | 4b54fb07018d5ed66ef82b6a53462e1b15c85d86 (patch) | |
tree | 4a91d6cb9f967c18a7c4dad51aeb1a182d7849ce /output | |
parent | 40d7d3baa8d83ad71873c85cf08286e1aaea6174 (diff) | |
download | hugo-4b54fb07018d5ed66ef82b6a53462e1b15c85d86.tar.gz hugo-4b54fb07018d5ed66ef82b6a53462e1b15c85d86.zip |
all: gofmt -s
Diffstat (limited to 'output')
-rw-r--r-- | output/outputFormat_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/output/outputFormat_test.go b/output/outputFormat_test.go index 18b84a0fa..9033de869 100644 --- a/output/outputFormat_test.go +++ b/output/outputFormat_test.go @@ -145,7 +145,7 @@ func TestDecodeFormats(t *testing.T) { { "Redefine JSON", []map[string]interface{}{ - map[string]interface{}{ + { "JsON": map[string]interface{}{ "baseName": "myindex", "isPlainText": "false"}}}, @@ -161,7 +161,7 @@ func TestDecodeFormats(t *testing.T) { { "Add XML format with string as mediatype", []map[string]interface{}{ - map[string]interface{}{ + { "MYXMLFORMAT": map[string]interface{}{ "baseName": "myxml", "mediaType": "application/xml", @@ -182,7 +182,7 @@ func TestDecodeFormats(t *testing.T) { { "Add format unknown mediatype", []map[string]interface{}{ - map[string]interface{}{ + { "MYINVALID": map[string]interface{}{ "baseName": "mymy", "mediaType": "application/hugo", @@ -194,12 +194,12 @@ func TestDecodeFormats(t *testing.T) { { "Add and redefine XML format", []map[string]interface{}{ - map[string]interface{}{ + { "MYOTHERXMLFORMAT": map[string]interface{}{ "baseName": "myotherxml", "mediaType": media.XMLType, }}, - map[string]interface{}{ + { "MYOTHERXMLFORMAT": map[string]interface{}{ "baseName": "myredefined", }}, |