Skip to content

Commit

Permalink
fixup! cli: Implement comment preserving edits on config, projects
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronFriel committed Nov 23, 2022
1 parent 3f522ba commit c4047e9
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions sdk/go/common/util/yamlutil/edit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,22 +69,3 @@ listFoo:
# footer
`)
}

func TestEditDeleteNode(t *testing.T) {
t.Parallel()

assertYamlEdit(t, `
foo: 1
# header
bar: 2 # this should become 42
# trailer
quux: 3
`, Foo{
Foo: 1,
Quux: 3,
}, `
foo: 1
# trailer
quux: 3
`)
}

0 comments on commit c4047e9

Please sign in to comment.