fix: repair test build failures in types and sqlite packages

- Add TypeRig constant to IssueType enum
- Add IsBuiltIn() method to IssueType for multi-repo hydration trust logic
- Fix parseCommaSeparated -> parseCommaSeparatedList function name in test

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
beads/refinery
2026-01-10 22:00:32 -08:00
committed by Steve Yegge
parent d74a14d92a
commit 50a079d3b7
2 changed files with 13 additions and 4 deletions

View File

@@ -205,14 +205,14 @@ func TestParseCustomStatuses(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
got := parseCommaSeparated(tt.value)
got := parseCommaSeparatedList(tt.value)
if len(got) != len(tt.want) {
t.Errorf("parseCommaSeparated() = %v, want %v", got, tt.want)
t.Errorf("parseCommaSeparatedList() = %v, want %v", got, tt.want)
return
}
for i := range got {
if got[i] != tt.want[i] {
t.Errorf("parseCommaSeparated()[%d] = %v, want %v", i, got[i], tt.want[i])
t.Errorf("parseCommaSeparatedList()[%d] = %v, want %v", i, got[i], tt.want[i])
}
}
})