1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
This commit is contained in:
Felipe Pena 2023-03-17 07:54:03 -03:00
parent 17f9b640ed
commit 7c4905d768

View File

@ -31,7 +31,7 @@ fn test_str_methods() {
assert u64(-1).str() == '18446744073709551615' assert u64(-1).str() == '18446744073709551615'
assert voidptr(-1).str() == '0xffffffffffffffff' assert voidptr(-1).str() == '0xffffffffffffffff'
assert voidptr(1).str() == '0x1' assert voidptr(1).str() == '0x1'
assert (&u8(-1)).str() == 'ffffffffffffffff' assert (&u8(-1)).str() == '255'
assert (&u8(1)).str() == '1' assert (&u8(1)).str() == '1'
assert byteptr(-1).str() == '0xffffffffffffffff' assert byteptr(-1).str() == '0xffffffffffffffff'
assert byteptr(1).str() == '0x1' assert byteptr(1).str() == '0x1'