From 4a71b27c52378b6403b5d2bc5bf9f415c4edf85d Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 15 Apr 2022 21:42:07 +0300 Subject: [PATCH] ci: add test_byte_vs_u8 to int_test.v --- vlib/builtin/int_test.v | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vlib/builtin/int_test.v b/vlib/builtin/int_test.v index cac4dc51f5..64866be44a 100644 --- a/vlib/builtin/int_test.v +++ b/vlib/builtin/int_test.v @@ -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 +}