mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 00:52:55 +00:00
fix affected kyaml tests
This commit is contained in:
committed by
Katrina Verey
parent
4b66043735
commit
3ab0665c19
@@ -223,12 +223,10 @@ func TestLocalPackageReader_Read_JSON(t *testing.T) {
|
||||
if !assert.Len(t, nodes, 2) {
|
||||
t.FailNow()
|
||||
}
|
||||
// TODO: Fix https://github.com/go-yaml/yaml/issues/44 so these are printed correctly
|
||||
expected := []string{
|
||||
`{"a": "b", metadata: {annotations: {config.kubernetes.io/index: '0', config.kubernetes.io/path: 'a_test.json'}}}
|
||||
`,
|
||||
`{"e": "f", "g": {"h": ["i", "j"]}, metadata: {annotations: {config.kubernetes.io/index: '0',
|
||||
config.kubernetes.io/path: 'b_test.json'}}}
|
||||
`{"e": "f", "g": {"h": ["i", "j"]}, metadata: {annotations: {config.kubernetes.io/index: '0', config.kubernetes.io/path: 'b_test.json'}}}
|
||||
`,
|
||||
}
|
||||
for i := range nodes {
|
||||
|
||||
Reference in New Issue
Block a user