See how Boundary would look with gofumpt applied (#853)
* See how Boundary would look with https://github.com/mvdan/gofumpt applied Results of running `gofumpt -w -s .` * Update tools file and Makefile for gofumpt Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
This commit is contained in:
1 parent
cca0fbea2b
commit
94cb79bbdd
237 files changed
+1567
-1529
No files matched your search
@@ -26,7 +26,7 @@ func TestTarget_ImmutableFields(t *testing.T) {
|
||||
_, proj := iam.TestScopes(t, iam.TestRepo(t, conn, wrapper))
|
||||
new := TestTcpTarget(t, conn, proj.PublicId, testId(t))
|
||||
|
||||
var tests = []struct {
|
||||
tests := []struct {
|
||||
name string
|
||||
update *TcpTarget
|
||||
fieldMask []string
|
||||
@@ -80,7 +80,6 @@ func TestTarget_ImmutableFields(t *testing.T) {
|
||||
require.NoError(err)
|
||||
|
||||
assert.True(proto.Equal(orig.(*TcpTarget), after.(*TcpTarget)))
|
||||
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -96,7 +95,7 @@ func TestTcpTarget_ImmutableFields(t *testing.T) {
|
||||
_, proj := iam.TestScopes(t, iam.TestRepo(t, conn, wrapper))
|
||||
new := TestTcpTarget(t, conn, proj.PublicId, testId(t))
|
||||
|
||||
var tests = []struct {
|
||||
tests := []struct {
|
||||
name string
|
||||
update *TcpTarget
|
||||
fieldMask []string
|
||||
@@ -146,7 +145,6 @@ func TestTcpTarget_ImmutableFields(t *testing.T) {
|
||||
require.NoError(err)
|
||||
|
||||
assert.True(proto.Equal(orig.(*TcpTarget), after.(*TcpTarget)))
|
||||
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -177,7 +175,7 @@ func TestTargetHostSet_ImmutableFields(t *testing.T) {
|
||||
new, err := NewTargetHostSet(projTarget.PublicId, gotHostSets[0].PublicId)
|
||||
require.NoError(t, err)
|
||||
|
||||
var tests = []struct {
|
||||
tests := []struct {
|
||||
name string
|
||||
update *TargetHostSet
|
||||
fieldMask []string
|
||||
|
||||
Reference in new issue
Block a user