Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 8b10832

Browse files
committed
Remove dead code
1 parent 6ee1f09 commit 8b10832

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

feature-proposal/program/tests/functional.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -94,23 +94,6 @@ async fn test_basic() {
9494
.expect("some account");
9595
assert_eq!(feature_id_acccount.owner, system_program::id());
9696

97-
let feature_proposal_acccount = banks_client
98-
.get_account(feature_proposal.pubkey())
99-
.await
100-
.expect("success")
101-
.expect("some account");
102-
let feature_proposal_acccount =
103-
spl_feature_proposal::state::FeatureProposal::unpack_from_slice(
104-
&feature_proposal_acccount.data,
105-
)
106-
.expect("unpack success");
107-
assert!(matches!(
108-
feature_proposal_acccount,
109-
FeatureProposal::Pending(AcceptanceCriteria {
110-
tokens_required: 42,
111-
deadline: None,
112-
})
113-
));
11497
assert!(matches!(
11598
get_account::<FeatureProposal>(&mut banks_client, feature_proposal.pubkey()).await,
11699
Ok(FeatureProposal::Pending(_))

0 commit comments

Comments
 (0)