about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-02-20T13·25+0100
committerVincent Ambo <tazjin@gmail.com>2017-02-20T13·25+0100
commit45aee8257fd5bb947cb127cd645d8ab571a15379 (patch)
treefcd9a87f3b9e40420eb0d648fb161898cee4a37b
parent0b992c6156a3beba093ff41030783a68f52377ef (diff)
style: Apply go fmt
-rw-r--r--context/context_test.go4
-rw-r--r--util/util.go1
-rw-r--r--util/util_test.go2
3 files changed, 3 insertions, 4 deletions
diff --git a/context/context_test.go b/context/context_test.go
index 66b857ffe822..4c95f058c0f1 100644
--- a/context/context_test.go
+++ b/context/context_test.go
@@ -100,7 +100,7 @@ func TestSubresourceVariableInheritance(t *testing.T) {
 					"bar": "baz",
 				},
 				Include: nil,
-				Parent: "parent",
+				Parent:  "parent",
 			},
 		},
 		BaseDir: "testdata",
@@ -129,7 +129,7 @@ func TestSubresourceVariableInheritanceOverride(t *testing.T) {
 					"foo": "newvalue",
 				},
 				Include: nil,
-				Parent: "parent",
+				Parent:  "parent",
 			},
 		},
 		BaseDir: "testdata",
diff --git a/util/util.go b/util/util.go
index 3d05322efb16..ea9f636ac89a 100644
--- a/util/util.go
+++ b/util/util.go
@@ -11,7 +11,6 @@ func Merge(in1 *map[string]interface{}, in2 *map[string]interface{}) *map[string
 		return in1
 	}
 
-
 	new := make(map[string]interface{})
 	for k, v := range *in1 {
 		new[k] = v
diff --git a/util/util_test.go b/util/util_test.go
index c0805533576a..a6adcd713f1a 100644
--- a/util/util_test.go
+++ b/util/util_test.go
@@ -1,8 +1,8 @@
 package util
 
 import (
-	"testing"
 	"reflect"
+	"testing"
 )
 
 func TestMergeWithEmptyMap(t *testing.T) {