mirror of
https://github.com/google/uuid.git
synced 2025-07-13 01:30:11 +02:00
Attempt to scan []byte uuids larger than 16 bytes. Fixes #12
This commit is contained in:
@ -22,6 +22,11 @@ func TestScan(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
err = (&uuid).Scan([]byte(stringTest))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
err = (&uuid).Scan(byteTest)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
Reference in New Issue
Block a user