/uuid_test.go
Go | 14 lines | 12 code | 2 blank | 0 comment | 1 complexity | 043edd3581310a71be0151b23abf65da MD5 | raw file
- package uuid
- import (
- "fmt"
- "testing"
- )
- func TestUUIDV4(t *testing.T) {
- fmt.Println("Testing UUID.V4 against regex")
- str := V4().String()
- if !ValidString(str) {
- t.Fatalf("Failed to validate uuid string")
- }
- }