Fix omitempty handling on components.

This commit is contained in:
Shawn Poulson
2023-08-31 12:30:28 -04:00
parent f389fedadd
commit 94adb8c064
2 changed files with 23 additions and 8 deletions

View File

@@ -687,7 +687,7 @@ components:
// render the document.
rend, _ := result.Model.Render()
assert.Equal(t, d, string(rend))
assert.Len(t, rend, len(d))
}
func TestDocument_OperationsAsRefs(t *testing.T) {