🎨 Format the long-reuse test's address assert as rustfmt does
rustfmt breaks the assert_eq! over its lines once its arguments pass the width; the pin move's test wrote it on one line, which the check refused.
This commit is contained in:
1 parent
c5b458c920
commit
f55cab82f8
1 file changed
+4
-1
@@ -147,7 +147,10 @@ mod tests {
|
||||
let again = blocks.take_block(MemoryClass::Shared, 64 * MIB).unwrap();
|
||||
let after = device.counters().metrics();
|
||||
assert!(again.id > long.id, "{again:?} after {long:?}");
|
||||
assert_eq!(again.gpu_address, long.gpu_address, "{again:?} after {long:?}");
|
||||
assert_eq!(
|
||||
again.gpu_address, long.gpu_address,
|
||||
"{again:?} after {long:?}"
|
||||
);
|
||||
assert_eq!(
|
||||
(
|
||||
after.shared_long_reuses - before.shared_long_reuses,
|
||||
|
||||
Reference in new issue
Block a user