mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-03-25 19:53:07 +00:00
panic test added test_blob_from_fit_slice_panic
This commit is contained in:
parent
ef904df52d
commit
80d7a98c34
@ -238,4 +238,11 @@ mod tests {
|
||||
let _ = produce_blob_from_fit_vec(data);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[should_panic]
|
||||
fn test_blob_from_fit_slice_panic() {
|
||||
let data = vec![1u8; PRIVATE_BLOB_SIZE + 1];
|
||||
let _ = produce_blob_from_fit_slice(&data);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user