Skip to content

Commit 50b36e8

Browse files
authored
std: fix BoundedArray test checking wrong condition (#12372)
1 parent 1db99b0 commit 50b36e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/bounded_array.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ test "BoundedArray" {
275275
try testing.expectEqualSlices(u8, &x, a.constSlice());
276276

277277
var a2 = a;
278-
try testing.expectEqualSlices(u8, a.constSlice(), a.constSlice());
278+
try testing.expectEqualSlices(u8, a.constSlice(), a2.constSlice());
279279
a2.set(0, 0);
280280
try testing.expect(a.get(0) != a2.get(0));
281281

0 commit comments

Comments
 (0)