fix one of stage2 errors

This commit is contained in:
Motiejus Jakštys 2022-05-25 09:48:39 +03:00 committed by Motiejus Jakštys
parent c602b7a039
commit d71f0d615b

View File

@ -303,7 +303,8 @@ test "delta decompression with an iterator" {
for (compressed) |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;
try testing.expectEqual(it.remaining(), uvarint_tests.len);
while (try it.next()) |got| : (i += 1) {