internal/core/adt: add tests cases for new closedness
These are all test cases that were discovered during
development of the new closedness algorithm and
by evaluating against Unity.
- exclude.txtar:
ensure that for hidden fields, lets, and definitions,
typo checking is turned off within them when they
are not part of a schema.
- root*:
problems that only occur when at the root of a file.
- typocheck: issues uncovered with Unity etc.
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: I9cf316f7325d990e7742e186056665998494ad90
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1211386
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Matthew Sackman <matthew@cue.works>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>