Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
azarovh committed Sep 2, 2024
1 parent b4c0d44 commit c376e64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tokens-accounting/src/tests/operations_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ fn change_authority_twice(#[case] seed: Seed) {
#[rstest]
#[trace]
#[case(Seed::from_entropy())]
fn try_change_authority_for_freezed_token(#[case] seed: Seed) {
fn try_change_authority_for_frozen_token(#[case] seed: Seed) {
let mut rng = make_seedable_rng(seed);

let token_issuance =
Expand All @@ -959,7 +959,7 @@ fn try_change_authority_for_freezed_token(#[case] seed: Seed) {
let new_token_data =
TokenData::FungibleToken(token_data.change_authority(new_authority.clone()));

// Try change authority while token is freezed
// Try change authority while token is frozen
let res = cache.change_authority(token_id, new_authority.clone());

assert_eq!(
Expand Down Expand Up @@ -1067,7 +1067,7 @@ fn change_metadata_twice(#[case] seed: Seed) {
#[rstest]
#[trace]
#[case(Seed::from_entropy())]
fn try_change_metadata_for_freezed_token(#[case] seed: Seed) {
fn try_change_metadata_for_frozen_token(#[case] seed: Seed) {
let mut rng = make_seedable_rng(seed);

let token_issuance =
Expand All @@ -1090,7 +1090,7 @@ fn try_change_metadata_for_freezed_token(#[case] seed: Seed) {
let new_token_data =
TokenData::FungibleToken(token_data.change_metadata_uri(new_metadata.clone()));

// Try change authority while token is freezed
// Try change authority while token is frozen
let res = cache.change_metadata_uri(token_id, new_metadata.clone());

assert_eq!(
Expand Down

0 comments on commit c376e64

Please sign in to comment.