summaryrefslogtreecommitdiffstats
path: root/deploy/deploy_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-02 13:23:25 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-03 13:12:58 +0100
commitd90e37e0c6e812f9913bf256c9c81aa05b7a08aa (patch)
tree7b1b14464eefec1188ca2eed53c64e4823453cc9 /deploy/deploy_test.go
parent32471b57bde51c55a15dbf1db75d6e5f7232c347 (diff)
all: Format code with gofumpt
See https://github.com/mvdan/gofumpt
Diffstat (limited to 'deploy/deploy_test.go')
-rw-r--r--deploy/deploy_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/deploy/deploy_test.go b/deploy/deploy_test.go
index 987c472ca..264ca9f9e 100644
--- a/deploy/deploy_test.go
+++ b/deploy/deploy_test.go
@@ -211,7 +211,6 @@ func TestFindDiffs(t *testing.T) {
}
func TestWalkLocal(t *testing.T) {
-
tests := map[string]struct {
Given []string
Expect []string
@@ -355,7 +354,10 @@ func TestLocalFile(t *testing.T) {
MediaTypesConfig: []map[string]interface{}{
{
"hugo/custom": map[string]interface{}{
- "suffixes": []string{"hugo"}}}},
+ "suffixes": []string{"hugo"},
+ },
+ },
+ },
WantContent: contentBytes,
WantSize: contentLen,
WantMD5: contentMD5[:],