2026-07-01 08:42:51 +00:00
|
|
|
package placement
|
|
|
|
|
|
|
|
|
|
import "testing"
|
|
|
|
|
|
|
|
|
|
func TestPreferReplyExternalIDKeepsNumeric(t *testing.T) {
|
|
|
|
|
got := PreferReplyExternalID("18123456789012345", "AbCdEf123")
|
|
|
|
|
if got != "18123456789012345" {
|
|
|
|
|
t.Fatalf("got %q", got)
|
|
|
|
|
}
|
|
|
|
|
got = PreferReplyExternalID("AbCdEf123", "18123456789012345")
|
|
|
|
|
if got != "18123456789012345" {
|
|
|
|
|
t.Fatalf("got %q", got)
|
|
|
|
|
}
|
2026-07-03 14:42:19 +00:00
|
|
|
}
|