Adding tests to cover model as we grow it.

This commit is contained in:
Dave Shanley
2022-07-30 22:02:05 -04:00
parent 7535cf568c
commit 23b0357aa0
3 changed files with 17 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ func CreateDocument(spec []byte) (*v3.Document, error) {
// build an index
//idx := index.NewSpecIndex(info.RootNode)
datamodel.BuildModel(info.RootNode.Content[0], &doc)
//datamodel.BuildModel(info.RootNode.Content[0], &doc)
// extract info
extractErr := extractInfo(info, &doc)