fix one of stage2 errors
This commit is contained in:
parent
c602b7a039
commit
d71f0d615b
@ -303,7 +303,8 @@ test "delta decompression with an iterator" {
|
|||||||
for (compressed) |x|
|
for (compressed) |x|
|
||||||
try appendUvarint(&buf, x);
|
try appendUvarint(&buf, x);
|
||||||
|
|
||||||
var it = DeltaDecompressionIterator(&try VarintSliceIterator(buf.items));
|
var vit = try VarintSliceIterator(buf.items);
|
||||||
|
var it = DeltaDecompressionIterator(&vit);
|
||||||
var i: usize = 0;
|
var i: usize = 0;
|
||||||
try testing.expectEqual(it.remaining(), uvarint_tests.len);
|
try testing.expectEqual(it.remaining(), uvarint_tests.len);
|
||||||
while (try it.next()) |got| : (i += 1) {
|
while (try it.next()) |got| : (i += 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user