mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
bitfield: minor documentation and function tweaks (#10549)
This commit is contained in:
@ -68,7 +68,7 @@ fn test_clone_cmp() {
|
||||
}
|
||||
output := input.clone()
|
||||
assert output.get_size() == len
|
||||
assert input.cmp(output) == true
|
||||
assert input == output
|
||||
}
|
||||
|
||||
fn test_slice_join() {
|
||||
@ -86,7 +86,7 @@ fn test_slice_join() {
|
||||
chunk2 := input.slice(point, input.get_size())
|
||||
// concatenate them back into one and compare to the original
|
||||
output := bitfield.join(chunk1, chunk2)
|
||||
if !input.cmp(output) {
|
||||
if input != output {
|
||||
result = 0
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user