mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 21:10:30 +00:00
Make UUID Identfier only a distinct byte array
This commit is contained in:
@@ -52,7 +52,7 @@ test_namespaced_uuids :: proc(t: ^testing.T) {
|
||||
test_writing :: proc(t: ^testing.T) {
|
||||
id: uuid.Identifier
|
||||
|
||||
for &b, i in id.bytes {
|
||||
for &b, i in id {
|
||||
b = u8(i)
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ test_reading :: proc(t: ^testing.T) {
|
||||
id, err := uuid.read("00010203-0405-0607-0809-0a0b0c0d0e0f")
|
||||
testing.expect_value(t, err, nil)
|
||||
|
||||
for b, i in id.bytes {
|
||||
for b, i in id {
|
||||
testing.expect_value(t, b, u8(i))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user