Change annotation name, error if conflicting options

This commit is contained in:
Phani Teja Marupaka
2021-07-09 01:32:48 -07:00
parent c07ffa5c1e
commit 89b12cfc62
5 changed files with 75 additions and 36 deletions

View File

@@ -540,7 +540,7 @@ spec:
w := tc.instance
w.Writer = &out
w.Reader = &in
w.AddSeqIndentAnnotation = true
w.PreserveSeqIndent = true
nodes, err := w.Read()
if !assert.NoError(t, err) {