all: gofmt -s
This commit is contained in:
parent
253b866009
commit
381003bded
@ -135,7 +135,7 @@ func TestField_Set(t *testing.T) {
|
|||||||
|
|
||||||
func TestField_NotSettable(t *testing.T) {
|
func TestField_NotSettable(t *testing.T) {
|
||||||
a := map[int]Baz{
|
a := map[int]Baz{
|
||||||
4: Baz{
|
4: {
|
||||||
A: "value",
|
A: "value",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@ -380,7 +380,7 @@ func TestMap_NestedMapWithSliceIntValues(t *testing.T) {
|
|||||||
|
|
||||||
b := &B{
|
b := &B{
|
||||||
Foo: map[string][]int{
|
Foo: map[string][]int{
|
||||||
"example_key": []int{80},
|
"example_key": {80},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -418,7 +418,7 @@ func TestMap_NestedMapWithSliceStructValues(t *testing.T) {
|
|||||||
|
|
||||||
b := &B{
|
b := &B{
|
||||||
Foo: map[string][]address{
|
Foo: map[string][]address{
|
||||||
"example_key": []address{
|
"example_key": {
|
||||||
{Country: "Turkey"},
|
{Country: "Turkey"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -463,8 +463,8 @@ func TestMap_NestedSliceWithStructValues(t *testing.T) {
|
|||||||
p := person{
|
p := person{
|
||||||
Name: "test",
|
Name: "test",
|
||||||
Addresses: []address{
|
Addresses: []address{
|
||||||
address{Country: "England"},
|
{Country: "England"},
|
||||||
address{Country: "Italy"},
|
{Country: "Italy"},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
mp := Map(p)
|
mp := Map(p)
|
||||||
@ -492,8 +492,8 @@ func TestMap_NestedSliceWithPointerOfStructValues(t *testing.T) {
|
|||||||
p := person{
|
p := person{
|
||||||
Name: "test",
|
Name: "test",
|
||||||
Addresses: []*address{
|
Addresses: []*address{
|
||||||
&address{Country: "England"},
|
{Country: "England"},
|
||||||
&address{Country: "Italy"},
|
{Country: "Italy"},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
mp := Map(p)
|
mp := Map(p)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user