From bfc7d8020d880af116ddc590c7a812f94f913007 Mon Sep 17 00:00:00 2001 From: "Ryotaro \"Justin\" Kimura" <1560508+ryoppippi@users.noreply.github.com> Date: Mon, 8 Aug 2022 19:09:36 +0100 Subject: [PATCH] fix test --- lib/std/bounded_array.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/bounded_array.zig b/lib/std/bounded_array.zig index 0b0efc55e445..8134beb6e32c 100644 --- a/lib/std/bounded_array.zig +++ b/lib/std/bounded_array.zig @@ -275,7 +275,7 @@ test "BoundedArray" { try testing.expectEqualSlices(u8, &x, a.constSlice()); var a2 = a; - try testing.expectEqualSlices(u8, a.constSlice(), a.constSlice()); + try testing.expectEqualSlices(u8, a.constSlice(), a2.constSlice()); a2.set(0, 0); try testing.expect(a.get(0) != a2.get(0));