first level testing for rending v3 model in place.

Now onto some hardening tests, lets re-render each spec after reading to check for failures.
This commit is contained in:
Dave Shanley
2023-03-14 06:35:00 -04:00
parent 162d62a229
commit 5d7f22fca7
25 changed files with 417 additions and 265 deletions

View File

@@ -58,9 +58,6 @@ func (x *XML) Render() ([]byte, error) {
// MarshalYAML will create a ready to render YAML representation of the XML object.
func (x *XML) MarshalYAML() (interface{}, error) {
if x == nil {
return nil, nil
}
nb := high.NewNodeBuilder(x, x.low)
return nb.Render(), nil
}