fix: address code review findings
This commit is contained in:
@@ -36,6 +36,9 @@ func TestNormalizeString_Basic(t *testing.T) {
|
||||
// Digits that are not years should stay
|
||||
{"30 Seconds to Mars", "30 seconds to mars"},
|
||||
{"1941 - The Greatest Hits", "the greatest hits"},
|
||||
// Year-only title is preserved (not collapsed to empty) so it can still match
|
||||
{"1989", "1989"},
|
||||
{"2112", "2112"},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
||||
Reference in New Issue
Block a user