Skip to content

Commit

Permalink
[pixeldata] Relax GetAttributeError size to 80 bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
Enet4 committed Mar 1, 2024
1 parent 8aa305e commit 6fa35fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pixeldata/src/attribute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@ mod tests {
fn errors_are_not_too_large() {
let size = std::mem::size_of::<super::GetAttributeError>();
assert!(
size <= 64,
"GetAttributeError size is too large ({} > 64)",
size <= 80,
"GetAttributeError size is too large ({} > 80)",
size
);
}
Expand Down

0 comments on commit 6fa35fb

Please sign in to comment.