fix bitfield_test

pull/13967/head
Nick Treleaven 2022-04-09 16:09:27 +01:00
parent c3644d38cc
commit f426a80f57
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ fn test_bf_from_str() {
output := bitfield.from_str(input)
mut result := 1
for i in 0 .. len {
if input[i] != output.get_bit(i) + 48 {
if input[i] != byte(output.get_bit(i)) + 48 {
result = 0
}
}