diff --git a/vlib/v/tests/multiret_with_ptrtype_test.v b/vlib/v/tests/multiret_with_ptrtype_test.v index 40e7116241..e1699970e1 100644 --- a/vlib/v/tests/multiret_with_ptrtype_test.v +++ b/vlib/v/tests/multiret_with_ptrtype_test.v @@ -2,15 +2,15 @@ fn multi_voidptr_ret() (voidptr, bool) { return voidptr(0), true } -fn multi_byteptr_ret() (byteptr, bool) { - return byteptr(0), true +fn multi_byteptr_ret() (&byte, bool) { + return &byte(0), true } fn test_multi_ptrtype_ret() { a, b := multi_voidptr_ret() - assert a == voidptr(0) + assert u64(a) == 0 assert b == true c, d := multi_byteptr_ret() - assert c == byteptr(0) + assert u64(c) == 0 assert d == true }