mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
builtin: fix tests for int (avoid new V warning) (#24528)
This commit is contained in:
parent
b21dbbb420
commit
35d33ff309
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ 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() == '1'
|
||||
assert (&u8(voidptr(-1))).str() == 'ffffffffffffffff'
|
||||
assert (&u8(voidptr(1))).str() == '1'
|
||||
assert byteptr(-1).str() == '0xffffffffffffffff'
|
||||
assert byteptr(1).str() == '0x1'
|
||||
assert charptr(-1).str() == '0xffffffffffffffff'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue