connector-contract-v3: the smallest frame has no smaller payload bound
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
face15ec16
commit
b6ad75c610
1 changed files with 1 additions and 1 deletions
|
|
@ -714,7 +714,7 @@ mod tests {
|
|||
assert_eq!(frame_bytes_for_payload(allowed), frame, "{bytes}");
|
||||
assert!(frame_bytes_for_payload(allowed + 1) > frame, "{bytes}");
|
||||
assert!(
|
||||
payload_bytes_for_frame(frame - 1).unwrap() < bytes,
|
||||
payload_bytes_for_frame(frame - 1).is_none_or(|smaller| smaller < bytes),
|
||||
"{bytes}"
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue