From 6da99b888a4974fbdd2fcb7d04f12342fc1c8bb2 Mon Sep 17 00:00:00 2001 From: Feoramund <161657516+Feoramund@users.noreply.github.com> Date: Fri, 21 Jun 2024 09:56:41 -0400 Subject: Make UUID `Identfier` only a distinct byte array --- tests/core/encoding/uuid/test_core_uuid.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/core/encoding') diff --git a/tests/core/encoding/uuid/test_core_uuid.odin b/tests/core/encoding/uuid/test_core_uuid.odin index 3d1eb1db0..717c5599d 100644 --- a/tests/core/encoding/uuid/test_core_uuid.odin +++ b/tests/core/encoding/uuid/test_core_uuid.odin @@ -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)) } } -- cgit v1.2.3