Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerrolol committed May 30, 2024
1 parent b1824b0 commit e7ae0ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/proposals_tests.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ fn test_successful_proposal_submission() {

start_prank(CheatTarget::One(gov_contract_addr), admin_addr.try_into().unwrap());
let prop_id_1 = dispatcher.submit_proposal(42, 1);
let prop_id_2 = dispatcher.submit_proposal(43,1);
let prop_id_2 = dispatcher.submit_proposal(43, 1);

assert!(prop_id_1 != prop_id_2, "Proposals should have unique ids");

Expand All @@ -182,4 +182,4 @@ fn test_successful_proposal_submission() {

assert!(prop_details_1.payload == 42, "wrong payload first proposal");
assert!(prop_details_2.payload == 43, "wrong payload second proposal");
}
}

0 comments on commit e7ae0ac

Please sign in to comment.