Skip to content

Commit 1d87ed7

Browse files
senamakelmedullabot
andcommitted
test(pairing): adapt private backing inspections to owned drop slot
Co-authored-by: Medulla <medulla@tinyhumans.ai>
1 parent 047ff11 commit 1d87ed7

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎crates/tinysecurity-crypto/src/pairing_tests.rs‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ async fn revocation_wipes_still_owned_permitted_staging_backing() {
292292
assert!(
293293
backing
294294
.bytes
295+
.as_ref()
296+
.checked()
295297
.lock()
296298
.checked()
297299
.iter()
@@ -1320,7 +1322,15 @@ async fn account_fences_ignore_full_traffic_capacity_and_exhausted_rate() {
13201322
} else {
13211323
owner.invalidate(&account_request()).checked();
13221324
}
1323-
assert!(held.bytes.lock().checked().iter().all(|byte| *byte == 0));
1325+
assert!(
1326+
held.bytes
1327+
.as_ref()
1328+
.checked()
1329+
.lock()
1330+
.checked()
1331+
.iter()
1332+
.all(|byte| *byte == 0)
1333+
);
13241334
assert!(
13251335
held.with_bytes(|bytes| {
13261336
bytes.fill(8);

0 commit comments

Comments
 (0)