Skip to content

Commit

Permalink
test: add clarity to test
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanosdev committed Jan 23, 2025
1 parent 01ba11b commit 31c7140
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/ic-asset-certification/tests/large_assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const MAX_CERT_TIME_OFFSET_NS: u128 = 300_000_000_000;
const MIN_REQUESTED_VERIFICATION_VERSION: u8 = 2;

#[rstest]
fn test_large_assets(
fn should_certify_long_asset_chunkwise(
asset_one_body: &'static [u8],
asset_one_chunk_one: &'static [u8],
asset_one_chunk_two: &'static [u8],
Expand All @@ -39,10 +39,10 @@ fn test_large_assets(
certificate: _,
root_key,
} = CertificateBuilder::new(&canister_id.to_string(), &certified_data)
.unwrap()
.expect("Failed to create CertificateBuilder")
.with_time(current_time)
.build()
.unwrap();
.expect("Failed to create CertificateData from CertificateBuilder");

let mut expected_headers = common_asset_headers();
expected_headers.extend(vec![
Expand Down

0 comments on commit 31c7140

Please sign in to comment.