Skip to content

Commit

Permalink
fix review
Browse files Browse the repository at this point in the history
  • Loading branch information
tdelabro committed Sep 13, 2024
1 parent 90840c2 commit 1fbf58f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/CompacSizeUint.zig
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ pub fn decodeReader(r: anytype) !Self {

test "ok_full_flow_for_key_values" {
const values = [_]u64{ 0, 252, 0xffff, 0xffffffff, std.math.maxInt(u64) };
const zeroed_buffer = [9]u8{ 0, 0, 0, 0, 0, 0, 0, 0, 0 };
var buffer = [9]u8{ 0, 0, 0, 0, 0, 0, 0, 0, 0 };
const zeroed_buffer = [_]u8{0} ** 9;
var buffer = [_]u8{0} ** 9;
const allocator = std.testing.allocator;

for (values) |num| {
Expand Down

0 comments on commit 1fbf58f

Please sign in to comment.