|
|
@@ -340,7 +340,7 @@ var marshalErrorTests = []struct {
|
|
|
panic: `Duplicated key 'b' in struct struct \{ B int; .*`,
|
|
|
}, {
|
|
|
value: &struct {
|
|
|
- A int
|
|
|
+ A int
|
|
|
B map[string]int ",inline"
|
|
|
}{1, map[string]int{"a": 2}},
|
|
|
panic: `Can't have key "a" in inlined map; conflicts with struct field`,
|