Skip to content

Commit

Permalink
actually clippy will fail me
Browse files Browse the repository at this point in the history
  • Loading branch information
2501babe committed Jun 5, 2024
1 parent 6289948 commit 9d5aa08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/stake-tests/tests/test_move_stake_and_lamports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,6 @@ async fn test_move_feature_gate_fail(
move_dest_type: StakeLifecycle,
move_lamports: bool,
) {
panic!("HANA fail");
if !move_lamports
&& (move_source_type != StakeLifecycle::Active
|| move_dest_type == StakeLifecycle::Activating)
Expand Down Expand Up @@ -1352,4 +1351,5 @@ async fn test_move_feature_gate_fail(
.await
.unwrap_err();
assert_eq!(e, ProgramError::InvalidInstructionData);
panic!("HANA fail");
}

0 comments on commit 9d5aa08

Please sign in to comment.