14 lines
348 B
Go
14 lines
348 B
Go
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)
|
|
}
|
|
} |