mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: add test_byte_vs_u8 to int_test.v
This commit is contained in:
parent
d75c408868
commit
4a71b27c52
@ -253,3 +253,9 @@ fn test_repeat() {
|
||||
assert b.repeat(1) == b.ascii_str()
|
||||
assert b.repeat(0) == ''
|
||||
}
|
||||
|
||||
fn test_byte_vs_u8() {
|
||||
b := byte(1)
|
||||
u := u8(1)
|
||||
assert b == u
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user