Commit 347fcee
committed
test(flavor): pin support table's element shape, not just outer Array kind
Copilot review on PR #723 flagged that TestSupportTable_IsArrayNotMap
only checked reflect.TypeOf(support).Kind() == reflect.Array -- a
regression to [flavorCount]map[Feature]bool would still satisfy that
check (still an Array at the top level) while reintroducing a
per-row map lookup. Assert the element type is itself an Array of
bool, not another map.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJTrn4DizYTMdYj4tbswVJ1 parent 3107dd6 commit 347fcee
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
| |||
0 commit comments