mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 13:50:11 +01:00
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:
parent
f48fcfe552
commit
6d881284c3
1 changed files with 1 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ fn test_ssa_ref_round_trip() {
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
let ssa_ref = SSARef::new(&vec);
|
let ssa_ref = SSARef::new(&vec);
|
||||||
assert!(ssa_ref[..] == vec[..]);
|
assert_eq!(ssa_ref[..], vec[..]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue