Skip to content

Commit

Permalink
fixed borked test
Browse files Browse the repository at this point in the history
  • Loading branch information
daveshanley committed Apr 18, 2024
1 parent 0125a13 commit eaa53dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datamodel/high/v3/document_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eaa53dd

Please sign in to comment.