mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: byte => u8
This commit is contained in:
@ -38,5 +38,5 @@ fn test_length_in_bytes() {
|
||||
|
||||
fn test_bytes() {
|
||||
r1 := `★`
|
||||
assert r1.bytes() == [byte(0xe2), 0x98, 0x85]
|
||||
assert r1.bytes() == [u8(0xe2), 0x98, 0x85]
|
||||
}
|
||||
|
Reference in New Issue
Block a user