diff options
Diffstat (limited to 'lib/std/bounded_array.zig')
| -rw-r--r-- | lib/std/bounded_array.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/bounded_array.zig b/lib/std/bounded_array.zig index 0b0efc55e4..8134beb6e3 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)); |
