[#70] add check for docs content in Indigo's example contracts test
Description
This keeps the existing testing for Indigo's examples and adds a check for each contract (Indigo-Lorentz couple) that verifies the content of documentation using their MarkDown representation.
NOTE: the new check does not compare ContractDoc
s directly because they do not have an Eq
instance and it seems that in other documentation-related datatypes the Eq
instance does not consider the textual content of documentation, but only its structure.
Moreover the MarkDown representation is consistent, so it does not seem necessary to add a specific content-checking function.
Related issue(s)
Resolves #70 (closed)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.