From 9d5aa083dbe09bb1b01506d6a00d7d63b3c0941f Mon Sep 17 00:00:00 2001 From: hanako mumei <81144685+2501babe@users.noreply.github.com> Date: Tue, 4 Jun 2024 21:07:07 -0700 Subject: [PATCH] actually clippy will fail me --- programs/stake-tests/tests/test_move_stake_and_lamports.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/stake-tests/tests/test_move_stake_and_lamports.rs b/programs/stake-tests/tests/test_move_stake_and_lamports.rs index 0a01b706cb2687..5ca4608f4dd27a 100644 --- a/programs/stake-tests/tests/test_move_stake_and_lamports.rs +++ b/programs/stake-tests/tests/test_move_stake_and_lamports.rs @@ -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) @@ -1352,4 +1351,5 @@ async fn test_move_feature_gate_fail( .await .unwrap_err(); assert_eq!(e, ProgramError::InvalidInstructionData); + panic!("HANA fail"); }