nak: use assert_eq!(a, b) instead of assert!(a == b)

Tells you what's different when it fails.

Suggested-by: @LingMan
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38807>
This commit is contained in:
Eric Engestrom 2025-10-06 11:29:54 +02:00
parent f48fcfe552
commit 6d881284c3

View file

@ -314,7 +314,7 @@ fn test_ssa_ref_round_trip() {
.collect();
let ssa_ref = SSARef::new(&vec);
assert!(ssa_ref[..] == vec[..]);
assert_eq!(ssa_ref[..], vec[..]);
}
}