bd sync: 2025-11-09 14:53:59

This commit is contained in:
Steve Yegge
2025-11-09 14:53:59 -08:00
parent d482d9ea6e
commit 83472aca3d
9 changed files with 288 additions and 143 deletions

View File

@@ -45,6 +45,11 @@ func TestExtractPrefix(t *testing.T) {
{"no-number", "no"}, // Has hyphen, so "no" is prefix
{"nonumber", ""}, // No hyphen
{"", ""},
// Multi-part suffixes (bd-fasa regression tests)
{"vc-baseline-test", "vc"},
{"vc-92cl-gate-test", "vc"},
{"bd-multi-part-id", "bd"},
{"prefix-a-b-c-d", "prefix"},
}
for _, tt := range tests {