mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 13:23:10 +00:00
add test_produce_blob_from_fit_vec_panic
This commit is contained in:
parent
4193094232
commit
5b2098c9f7
@ -132,5 +132,12 @@ mod tests {
|
||||
assert_eq!(blob[..4], [0, 1, 2, 3]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[should_panic]
|
||||
fn test_produce_blob_from_fit_vec_panic() {
|
||||
let data = vec![0; SC_DATA_BLOB_SIZE + 1];
|
||||
let _ = produce_blob_from_fit_vec(data);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user