test: expand unit coverage

This commit is contained in:
修雨 committed 2026-07-15 11:41:30 +08:00
1 parent 3e9e76df2c
commit 8633246eff
159 files changed
+25552 -972

No files matched your search

+1 -1
View File
@@ -267,7 +267,7 @@ func stableKeywords(raw string) []string {
return nil
}
parts := strings.FieldsFunc(normalized, func(r rune) bool {
return !(r >= 'a' && r <= 'z') && !(r >= '0' && r <= '9') && r != '_'
return !(r >= 'a' && r <= 'z') && !(r >= '0' && r <= '9') && r != '_' && r != '<' && r != '>'
})
out := make([]string, 0, len(parts))
for _, part := range parts {