From 7c4905d7688d22fa46a02bf2ba6fd4a98f201ed1 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Fri, 17 Mar 2023 07:54:03 -0300 Subject: [PATCH] fix test --- vlib/builtin/int_test.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/builtin/int_test.v b/vlib/builtin/int_test.v index dac0cc1cbe..31f89f76d7 100644 --- a/vlib/builtin/int_test.v +++ b/vlib/builtin/int_test.v @@ -31,7 +31,7 @@ fn test_str_methods() { assert u64(-1).str() == '18446744073709551615' assert voidptr(-1).str() == '0xffffffffffffffff' assert voidptr(1).str() == '0x1' - assert (&u8(-1)).str() == 'ffffffffffffffff' + assert (&u8(-1)).str() == '255' assert (&u8(1)).str() == '1' assert byteptr(-1).str() == '0xffffffffffffffff' assert byteptr(1).str() == '0x1'