[TM-119] Add a test for list typechecking
Description
Problem: we used to have in ValueSeq
typechecking as a list.
We typecheck items from left to right and put the first item to
the end. If we don't reverse this typechecked list, the items will
go in the wrong order.
Unfortunately we didn't have a regression test for this behavior
when we fixed this bug.
Solution: add a simple property test for typeVerifyValue
.
Related issue(s)
https://issues.serokell.io/issue/TM-119
✅ 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.
Edited by Ivan Gromakovskii