Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-wong-dfinity-org committed Jan 20, 2025
1 parent ff02f49 commit f50d3b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rs/nns/integration_tests/src/cycles_minting_canister.rs
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ fn test_cmc_automatically_refunds_when_memo_is_garbage() {
&state_machine,
LEDGER_CANISTER_ID,
Account {
owner: Principal::from(TEST_USER1_PRINCIPAL.clone()),
owner: *TEST_USER1_PRINCIPAL,
subaccount: None,
},
);
Expand Down Expand Up @@ -992,7 +992,7 @@ fn test_cmc_automatically_refunds_when_memo_is_garbage() {
let lower_reason = reason.to_lowercase();
for key_word in ["memo", "0xdeadbeef", "does not correspond", "offer"] {
assert!(
lower_reason.contains(&key_word),
lower_reason.contains(key_word),
r#""{}" not in {:?}"#,
key_word,
last_err
Expand All @@ -1016,7 +1016,7 @@ fn test_cmc_automatically_refunds_when_memo_is_garbage() {
"createcanister",
] {
assert!(
lower_reason.contains(&key_word),
lower_reason.contains(key_word),
r#""{}" not in {:?}"#,
key_word,
last_err
Expand Down

0 comments on commit f50d3b7

Please sign in to comment.