mirror of
https://codeberg.org/kaasboteram/zig-iterating.git
synced 2025-12-15 09:43:14 +01:00
Fix indentation in iter unit test
This commit is contained in:
parent
28e110c609
commit
b53bb564c1
1 changed files with 2 additions and 5 deletions
|
|
@ -54,14 +54,11 @@ test iter {
|
|||
const items = try iter(i32)
|
||||
.once(-100)
|
||||
.chain(
|
||||
iter(i32)
|
||||
.rangeInclusive(1, 100)
|
||||
iter(i32).rangeInclusive(1, 100)
|
||||
.filter(arith.is_square)
|
||||
.chain(iter(i32)
|
||||
.range(0, 10)),
|
||||
.chain(iter(i32).range(0, 10)),
|
||||
)
|
||||
.toOwnedSlice(allocator);
|
||||
|
||||
defer allocator.free(items);
|
||||
|
||||
try std.testing.expectEqualSlices(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue