fix: /B was not recognized in the cluster

This commit is contained in:
2026-07-07 13:42:59 +02:00
parent 5b37397a64
commit 3d88d8f50f
2 changed files with 8 additions and 5 deletions
+2
View File
@@ -224,6 +224,8 @@ func TestNormalize(t *testing.T) {
"MM/LY3X/P": "MM",
"F4BPO/W6": "W6",
"VK9/F4BPO": "VK9",
"4U1UN/B": "4U1UN", // trailing /B = beacon → strip, keep the base call
"B/F4BPO": "B", // leading B = China operating prefix, NOT a beacon
}
for in, want := range cases {
if got := normalizeCallsign(in); got != want {