diff options
| author | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-06-21 09:56:41 -0400 |
|---|---|---|
| committer | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-06-22 18:21:31 -0400 |
| commit | 6da99b888a4974fbdd2fcb7d04f12342fc1c8bb2 (patch) | |
| tree | b8fd16b998bd7c07edbfd7d094b647b4c28650cf /tests/core | |
| parent | 31873ed46625823bae8d7f9b1883597ea1e1c351 (diff) | |
Make UUID `Identfier` only a distinct byte array
Diffstat (limited to 'tests/core')
| -rw-r--r-- | tests/core/encoding/uuid/test_core_uuid.odin | 4 |
1 files changed, 2 insertions, 2 deletions
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)) } } |