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) {
|
||||
a := map[int]Baz{
|
||||
4: Baz{
|
||||
4: {
|
||||
A: "value",
|
||||
},
|
||||
}
|
||||
|
||||
@ -380,7 +380,7 @@ func TestMap_NestedMapWithSliceIntValues(t *testing.T) {
|
||||
|
||||
b := &B{
|
||||
Foo: map[string][]int{
|
||||
"example_key": []int{80},
|
||||
"example_key": {80},
|
||||
},
|
||||
}
|
||||
|
||||
@ -418,7 +418,7 @@ func TestMap_NestedMapWithSliceStructValues(t *testing.T) {
|
||||
|
||||
b := &B{
|
||||
Foo: map[string][]address{
|
||||
"example_key": []address{
|
||||
"example_key": {
|
||||
{Country: "Turkey"},
|
||||
},
|
||||
},
|
||||
@ -463,8 +463,8 @@ func TestMap_NestedSliceWithStructValues(t *testing.T) {
|
||||
p := person{
|
||||
Name: "test",
|
||||
Addresses: []address{
|
||||
address{Country: "England"},
|
||||
address{Country: "Italy"},
|
||||
{Country: "England"},
|
||||
{Country: "Italy"},
|
||||
},
|
||||
}
|
||||
mp := Map(p)
|
||||
@ -492,8 +492,8 @@ func TestMap_NestedSliceWithPointerOfStructValues(t *testing.T) {
|
||||
p := person{
|
||||
Name: "test",
|
||||
Addresses: []*address{
|
||||
&address{Country: "England"},
|
||||
&address{Country: "Italy"},
|
||||
{Country: "England"},
|
||||
{Country: "Italy"},
|
||||
},
|
||||
}
|
||||
mp := Map(p)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user