authorgravatar for 1560508+ryoppippi@users.noreply.github.comRyotaro "Justin" Kimura <1560508+ryoppippi@users.noreply.github.com> 2022-08-08 23:13:35+01:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2022-08-08 18:13:35-04:00
log50b36e84fab023ec418eb794d6a5b4510ac6b984
tree048b94effc3ef40fe22603099579ba3c051d751a
parent1db99b08e29dd4c8e3dbb8d91e7f0139ec75a008
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

std: fix BoundedArray test checking wrong condition (#12372)


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/bounded_array.zig+1-1
......@@ -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