ci: add test_byte_vs_u8 to int_test.v

master
Delyan Angelov 2022-04-15 21:42:07 +03:00
parent d75c408868
commit 4a71b27c52
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 6 additions and 0 deletions

View File

@ -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
}