Skip to content

Commit

Permalink
fixed ye olde tests
Browse files Browse the repository at this point in the history
  • Loading branch information
daveshanley committed Aug 5, 2024
1 parent 7bb16cd commit 4a72248
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datamodel/low/base/discriminator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ propertyName: freshCakes`
var rDoc Discriminator
_ = low.BuildModel(lNode.Content[0], &lDoc)
_ = low.BuildModel(rNode.Content[0], &rDoc)
lDoc.RootNode = &lNode
lDoc.KeyNode = &rNode

assert.Equal(t, lDoc.Hash(), rDoc.Hash())
assert.NotNil(t, lDoc.GetRootNode())
Expand Down

0 comments on commit 4a72248

Please sign in to comment.