Make failure message more explicit

pull/17551/head
Paul Tyng 8 years ago committed by GitHub
parent 707d7febe3
commit 528cbecfce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,7 +32,7 @@ func TestUniqueId(t *testing.T) {
rest := strings.TrimPrefix(id, UniqueIdPrefix)
if len(rest) != UniqueIDSuffixLength {
t.Fatalf("Post-prefix part has wrong length! %s", rest)
t.Fatalf("PrefixedUniqueId is out of sync with UniqueIDSuffixLength, post-prefix part has wrong length! %s", rest)
}
timestamp, increment := split(rest)

Loading…
Cancel
Save