Remove "slices" unit test

This commit is contained in:
Luuk Machielse 2025-10-10 17:37:40 +02:00
parent 1d7ef3ab9d
commit 1a6e4b6bba

View file

@ -349,13 +349,3 @@ pub fn SliceIterConst(comptime T: type) type {
}
};
}
test "slices" {
const slice: []const i32 = &[_]i32{ -2, -1, 0, 1, 2 };
var it = Iter(i32).fromSlice(slice).enumerate();
while (it.next()) |pair| {
const i, const val = pair;
try std.testing.expectEqual(slice[i], val.*);
}
}