MCPcopy
hub / github.com/google/uuid / TestIsWrongLength

Function TestIsWrongLength

uuid_test.go:569–574  ·  uuid_test.go::TestIsWrongLength
(t *testing.T)

Source from the content-addressed store, hash-verified

567}
568
569func TestIsWrongLength(t *testing.T) {
570 _, err := Parse("12345")
571 if !IsInvalidLengthError(err) {
572 t.Errorf("expected error type is invalidLengthError")
573 }
574}
575
576func FuzzParse(f *testing.F) {
577 for _, tt := range tests {

Callers

nothing calls this directly

Calls 2

ParseFunction · 0.85
IsInvalidLengthErrorFunction · 0.85

Tested by

no test coverage detected