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
@@ -128,7 +128,6 @@ func TestCode_Both_String_Info(t *testing.T) {
|
||||
assert := assert.New(t)
|
||||
assert.Equal(errorCodeInfo[tt.want], tt.c.Info())
|
||||
assert.Equal(errorCodeInfo[tt.want].Message, tt.c.String())
|
||||
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
|
||||
func TestError_IsUnique(t *testing.T) {
|
||||
t.Parallel()
|
||||
var tests = []struct {
|
||||
tests := []struct {
|
||||
name string
|
||||
in error
|
||||
want bool
|
||||
@@ -76,7 +76,7 @@ func TestError_IsUnique(t *testing.T) {
|
||||
|
||||
func TestError_IsCheckConstraint(t *testing.T) {
|
||||
t.Parallel()
|
||||
var tests = []struct {
|
||||
tests := []struct {
|
||||
name string
|
||||
in error
|
||||
want bool
|
||||
@@ -138,7 +138,7 @@ func TestError_IsCheckConstraint(t *testing.T) {
|
||||
|
||||
func TestError_IsNotNullError(t *testing.T) {
|
||||
t.Parallel()
|
||||
var tests = []struct {
|
||||
tests := []struct {
|
||||
name string
|
||||
in error
|
||||
want bool
|
||||
@@ -206,7 +206,7 @@ func TestError_IsNotNullError(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestError_IsMissingTableError(t *testing.T) {
|
||||
var tests = []struct {
|
||||
tests := []struct {
|
||||
name string
|
||||
in error
|
||||
want bool
|
||||
@@ -258,7 +258,7 @@ func TestError_IsMissingTableError(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestError_IsNotFoundError(t *testing.T) {
|
||||
var tests = []struct {
|
||||
tests := []struct {
|
||||
name string
|
||||
in error
|
||||
want bool
|
||||
|
||||
Reference in new issue
Block a user