mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
Remove outdated partition label from test
This commit is contained in:
parent
5c24ed61a8
commit
8aefdc31da
@ -1668,7 +1668,7 @@ func TestDecodeConfigEntry(t *testing.T) {
|
|||||||
name: "partition-exports",
|
name: "partition-exports",
|
||||||
snake: `
|
snake: `
|
||||||
kind = "partition-exports"
|
kind = "partition-exports"
|
||||||
partition = "foo"
|
name = "foo"
|
||||||
meta {
|
meta {
|
||||||
"foo" = "bar"
|
"foo" = "bar"
|
||||||
"gir" = "zim"
|
"gir" = "zim"
|
||||||
@ -1699,7 +1699,7 @@ func TestDecodeConfigEntry(t *testing.T) {
|
|||||||
`,
|
`,
|
||||||
camel: `
|
camel: `
|
||||||
Kind = "partition-exports"
|
Kind = "partition-exports"
|
||||||
Partition = "foo"
|
Name = "foo"
|
||||||
Meta {
|
Meta {
|
||||||
"foo" = "bar"
|
"foo" = "bar"
|
||||||
"gir" = "zim"
|
"gir" = "zim"
|
||||||
@ -1729,6 +1729,7 @@ func TestDecodeConfigEntry(t *testing.T) {
|
|||||||
]
|
]
|
||||||
`,
|
`,
|
||||||
expect: &PartitionExportsConfigEntry{
|
expect: &PartitionExportsConfigEntry{
|
||||||
|
Name: "foo",
|
||||||
Meta: map[string]string{
|
Meta: map[string]string{
|
||||||
"foo": "bar",
|
"foo": "bar",
|
||||||
"gir": "zim",
|
"gir": "zim",
|
||||||
@ -1756,7 +1757,6 @@ func TestDecodeConfigEntry(t *testing.T) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
EnterpriseMeta: NewEnterpriseMetaWithPartition("foo", ""),
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
} {
|
} {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user