diff --git a/datamodel/high/v3/document_test.go b/datamodel/high/v3/document_test.go index f995763a..4367ed38 100644 --- a/datamodel/high/v3/document_test.go +++ b/datamodel/high/v3/document_test.go @@ -660,7 +660,8 @@ func TestDocument_MarshalJSON(t *testing.T) { highDoc := NewDocument(lowDoc) - rendered := highDoc.RenderJSON(" ") + rendered, err := highDoc.RenderJSON(" ") + assert.NoError(t, err) // now read back in the JSON info, _ = datamodel.ExtractSpecInfo(rendered)