Repository navigation
Commit 7f1df37
committed
test(golang): the untyped-field checker test skips with no guest, and shares Check's engine call
TestCheckerRefusesAnIndexedUntypedField handed NewChecker's error to
t.Fatal, so `go test ./...` without the gitignored guest builds reported
it as the module's one failure, where every other guest test skips. It
calls guestOrSkip first now, and still runs through NewChecker, the
constructor stashgen uses.
Its "past Validate" half copied the engine part of Checker.Check, so the
two could drift: a change to what Check sends se_plan_check would leave
the test sending the old encoding and passing. That part of Check is now
engineCheck, which Check and the test both call, and the test no longer
imports vcffi.
Addresses PR #1096 review comments 4203316804 and 4203316856.1 parent 1acd6f7 commit 7f1df37
2 files changed
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
738 | 737 | | |
739 | 738 | | |
740 | 739 | | |
| 740 | + | |
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
| |||
760 | 760 | | |
761 | 761 | | |
762 | 762 | | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
| 763 | + | |
771 | 764 | | |
772 | 765 | | |
773 | 766 | | |
| |||
0 commit comments